OGS
ReactionRate.cpp
Go to the documentation of this file.
1
11#include "ReactionRate.h"
12
13#include <ostream>
14
15namespace ChemistryLib
16{
17namespace PhreeqcIOData
18{
19std::ostream& operator<<(std::ostream& os, ReactionRate const& reaction_rate)
20{
21 os << reaction_rate.kinetic_reactant << "\n";
22 os << "-start"
23 << "\n";
24 int line_number = 1;
25 for (auto const& expression_statement : reaction_rate.expression_statements)
26 {
27 os << line_number << " " << expression_statement << "\n";
28 ++line_number;
29 }
30 os << "-end"
31 << "\n";
32
33 return os;
34}
35} // namespace PhreeqcIOData
36} // namespace ChemistryLib
std::ostream & operator<<(std::ostream &os, PhreeqcIO const &phreeqc_io)
std::vector< std::string > const expression_statements