OGS
ReactionRate.cpp
Go to the documentation of this file.
1
11
#include "
ReactionRate.h
"
12
13
namespace
ChemistryLib
14
{
15
namespace
PhreeqcKernelData
16
{
17
ReactionRate::ReactionRate
(std::string kinetic_reactant_,
18
std::vector<std::string>
const
& statements)
19
: kinetic_reactant(std::move(kinetic_reactant_))
20
{
21
int
line_number = 1;
22
for
(
auto
const
& statement : statements)
23
{
24
_commands
+= std::to_string(line_number) +
" "
+ statement +
"; "
;
25
++line_number;
26
}
27
}
28
}
// namespace PhreeqcKernelData
29
}
// namespace ChemistryLib
ReactionRate.h
ChemistryLib::PhreeqcKernelData::ReactionRate::_commands
std::string _commands
Definition
ReactionRate.h:32
ChemistryLib::PhreeqcKernelData::ReactionRate::ReactionRate
ReactionRate(std::string kinetic_reactant_, std::vector< std::string > const &statements)
Definition
ReactionRate.cpp:17
ChemistryLib
Definition
ChemicalSolverInterface.h:31
ChemistryLib
PhreeqcKernelData
ReactionRate.cpp
Generated by
1.12.0