OGS
InitialAqueousSolution.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
5
6namespace ChemistryLib
7{
8namespace PhreeqcKernelData
9{
11 std::map<std::string, cxxISolutionComp>& components)
12{
13 units = "Mol/kgw";
14
15 for (auto& map_pair : components)
16 {
17 auto& component = map_pair.second;
18 component.Set_units(units.c_str());
19 component.Set_pe_reaction(default_pe);
20 }
21
22 comps = components;
23}
24} // namespace PhreeqcKernelData
25} // namespace ChemistryLib
InitialAqueousSolution(std::map< std::string, cxxISolutionComp > &components)