OGS
ChemistryLib::PhreeqcKernelData::InitialAqueousSolution Class Referencefinal

Detailed Description

Definition at line 28 of file InitialAqueousSolution.h.

#include <InitialAqueousSolution.h>

Inheritance diagram for ChemistryLib::PhreeqcKernelData::InitialAqueousSolution:
[legend]
Collaboration diagram for ChemistryLib::PhreeqcKernelData::InitialAqueousSolution:
[legend]

Public Member Functions

 InitialAqueousSolution (std::map< std::string, cxxISolutionComp > &components)
 

Constructor & Destructor Documentation

◆ InitialAqueousSolution()

ChemistryLib::PhreeqcKernelData::InitialAqueousSolution::InitialAqueousSolution ( std::map< std::string, cxxISolutionComp > & components)
explicit

Definition at line 17 of file InitialAqueousSolution.cpp.

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}

The documentation for this class was generated from the following files: