Flow123d
jenkins-Flow123d-windows32-release-multijob-51
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
Isotherm::mult_coef_
double mult_coef_
Multiplication parameter of the isotherm.
Definition:
isotherm.hh:228
Isotherm::second_coef_
double second_coef_
Optional secod parameter of the isotherm.
Definition:
isotherm.hh:231
Linear
Definition:
isotherm.hh:77
Freundlich
Definition:
isotherm.hh:115
Langmuir
Definition:
isotherm.hh:95
Isotherm::make_table
void make_table(int n_points)
Definition:
isotherm.cc:11
Isotherm::table_limit_
double table_limit_
Definition:
isotherm.hh:236
Isotherm::adsorption_type_
enum SorptionType adsorption_type_
Type of isotherm.
Definition:
isotherm.hh:225
isotherm.hh
Generated on Mon Oct 20 2014 14:40:49 for Flow123d by
1.8.7