1 #include <boost/foreach.hpp>
14 =
IT::Record(
"Sorption",
"Information about all the limited solubility affected adsorptions.")
18 IT::Default(
"conc_solid"),
"List of fields to write to output stream.");
48 double mult_coef = mult_coef_vec[i_subst];
49 double second_coef = second_coef_vec[i_subst];
50 Isotherm & isotherm = isotherms_vec[i_subst];
53 double scale_aqua = por_m,
54 scale_sorbed = (1 - por_m) * rock_density *
molar_masses[i_subst];
57 if ( scale_sorbed == 0.0)
58 xprintf(
UsrErr,
"Sorption::init_from_input() failed. Parameter scale_sorbed (phi * (1 - por_m - por_imm) * rock_density * molar_masses[i_subst]) is equal to zero.");
59 bool limited_solubility_on =
false;
62 limited_solubility_on =
false;
65 limited_solubility_on =
true;
69 solvent_density, scale_aqua, scale_sorbed, table_limit, mult_coef, second_coef);
73 END_TIMER(
"SorptionSimple::isotherm_reinit");