OGS
EquilibriumReactant.cpp
Go to the documentation of this file.
1
11
#include "
EquilibriumReactant.h
"
12
13
#include <ostream>
14
15
namespace
ChemistryLib
16
{
17
namespace
PhreeqcIOData
18
{
19
void
EquilibriumReactant::print
(std::ostream& os,
20
std::size_t
const
chemical_system_id)
const
21
{
22
os <<
name
<<
" "
<<
saturation_index
<<
" "
23
<< (*molality)[chemical_system_id] <<
" "
<<
reaction_irreversibility
24
<<
"\n"
;
25
}
26
}
// namespace PhreeqcIOData
27
}
// namespace ChemistryLib
EquilibriumReactant.h
ChemistryLib
Definition
ChemicalSolverInterface.h:31
ChemistryLib::PhreeqcIOData::EquilibriumReactant::print
void print(std::ostream &os, std::size_t const chemical_system_id) const
Definition
EquilibriumReactant.cpp:19
ChemistryLib::PhreeqcIOData::EquilibriumReactant::saturation_index
double const saturation_index
Definition
EquilibriumReactant.h:58
ChemistryLib::PhreeqcIOData::EquilibriumReactant::name
std::string const name
Definition
EquilibriumReactant.h:52
ChemistryLib::PhreeqcIOData::EquilibriumReactant::reaction_irreversibility
std::string const reaction_irreversibility
Definition
EquilibriumReactant.h:59
ChemistryLib
PhreeqcIOData
EquilibriumReactant.cpp
Generated by
1.12.0