OGS
InitialAqueousSolution.cpp
Go to the documentation of this file.
1
11
#include "
InitialAqueousSolution.h
"
12
13
namespace
ChemistryLib
14
{
15
namespace
PhreeqcKernelData
16
{
17
InitialAqueousSolution::InitialAqueousSolution
(
18
std::map<std::string, cxxISolutionComp>& components)
19
{
20
units =
"Mol/kgw"
;
21
22
for
(
auto
& map_pair : components)
23
{
24
auto
& component = map_pair.second;
25
component.Set_units(units.c_str());
26
component.Set_pe_reaction(default_pe);
27
}
28
29
comps = components;
30
}
31
}
// namespace PhreeqcKernelData
32
}
// namespace ChemistryLib
InitialAqueousSolution.h
ChemistryLib::PhreeqcKernelData::InitialAqueousSolution::InitialAqueousSolution
InitialAqueousSolution(std::map< std::string, cxxISolutionComp > &components)
Definition
InitialAqueousSolution.cpp:17
ChemistryLib
Definition
ChemicalSolverInterface.h:31
ChemistryLib
PhreeqcKernelData
InitialAqueousSolution.cpp
Generated by
1.12.0