OGS
PhreeqcKernelData/ReactionRate.cpp
Go to the documentation of this file.
1
10
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
PhreeqcKernelData/ReactionRate.h:32
ChemistryLib::PhreeqcKernelData::ReactionRate::kinetic_reactant
std::string const kinetic_reactant
Definition
PhreeqcKernelData/ReactionRate.h:29
ChemistryLib::PhreeqcKernelData::ReactionRate::ReactionRate
ReactionRate(std::string kinetic_reactant_, std::vector< std::string > const &statements)
Definition
PhreeqcKernelData/ReactionRate.cpp:17
ChemistryLib::PhreeqcKernelData
Definition
PhreeqcKernel.cpp:25
ChemistryLib
Definition
ChemicalSolverInterface.h:31
ChemistryLib
PhreeqcKernelData
ReactionRate.cpp
Generated by
1.14.0