OGS
ReactionRate.cpp
Go to the documentation of this file.
1
11#include "ReactionRate.h"
12
13namespace ChemistryLib
14{
15namespace PhreeqcKernelData
16{
17ReactionRate::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(std::string kinetic_reactant_, std::vector< std::string > const &statements)