OGS
InitialAqueousSolution.cpp
Go to the documentation of this file.
1
12
13namespace ChemistryLib
14{
15namespace PhreeqcKernelData
16{
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(std::map< std::string, cxxISolutionComp > &components)