Flow123d
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
flow123d
src
reaction
isotherm.cc
Go to the documentation of this file.
1
/*
2
* isotherm.cc
3
*
4
* Created on: Mar 15, 2013
5
* Author: lukas
6
*/
7
#include <utility>
8
9
#include "
reaction/isotherm.hh
"
10
11
void
Isotherm::make_table
(
int
nr_of_points)
12
{
13
if
(
table_limit_
> 0.0)
switch
(
adsorption_type_
)
14
{
15
case
0:
// none
16
{
17
Linear
obj_isotherm(0.0);
18
make_table
(obj_isotherm, 1);
19
}
20
break
;
21
case
1:
// linear:
22
{
23
Linear
obj_isotherm(
mult_coef_
);
24
make_table
(obj_isotherm, nr_of_points);
25
}
26
break
;
27
case
2:
// freundlich:
28
{
29
Freundlich
obj_isotherm(
mult_coef_
,
second_coef_
);
30
make_table
(obj_isotherm, nr_of_points);
31
}
32
break
;
33
case
3:
// langmuir:
34
{
35
Langmuir
obj_isotherm(
mult_coef_
,
second_coef_
);
36
make_table
(obj_isotherm, nr_of_points);
37
}
38
break
;
39
default
:
40
{
41
;
42
}
43
break
;
44
}
45
return
;
46
}
47
48
49
50
/*
51
SorptionType Isotherm::get_sorption_type(void)
52
{
53
return adsorption_type_;
54
}
55
56
void Isotherm::set_iso_params(SorptionType sorp_type, double mult_coef, double second_coef)
57
{
58
adsorption_type_ = sorp_type;
59
mult_coef_ = mult_coef;
60
second_coef_ = second_coef;
61
return;
62
}
63
64
void Isotherm::set_kind_of_pores(int kind_of_pores)
65
{
66
kind_of_pores_ = kind_of_pores;
67
return;
68
}
69
*/
Generated on Thu May 29 2014 23:14:49 for Flow123d by
1.8.4