Loading [MathJax]/extensions/tex2jax.js
OGS
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
v
w
z
Enumerations
b
c
d
e
f
g
i
l
m
n
o
p
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
l
m
n
p
r
s
t
v
y
Classes
Class List
Class Index
Class Hierarchy
Files
File List
File Members
All
a
b
c
d
e
f
g
i
k
m
n
o
p
r
s
t
v
w
x
Functions
a
c
d
e
f
g
i
m
o
p
r
s
t
v
w
Variables
Typedefs
Enumerations
Macros
b
c
g
m
n
o
p
r
s
t
▼
OGS
►
OpenGeoSys 6.5.4-427-g3181fdc05 source code documentation
►
OGS CTests—Project Files
►
OGS Input File Parameters—Quality Assurance
►
OGS Input File Parameters
BulkMappingDocuPage
Todo List
OGS Input File Parameters—List of incomplete documentation pages
Bibliography
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Applications
►
BaseLib
►
build
▼
ChemistryLib
►
Common
►
PhreeqcIOData
▼
PhreeqcKernelData
AqueousSolution.cpp
►
AqueousSolution.h
►
CreateAqueousSolution.cpp
►
CreateAqueousSolution.h
►
CreateEquilibriumReactants.cpp
►
CreateEquilibriumReactants.h
►
CreateInitialAqueousSolution.cpp
►
CreateInitialAqueousSolution.h
►
CreateKineticReactant.cpp
►
CreateKineticReactant.h
EquilibriumReactants.cpp
►
EquilibriumReactants.h
InitialAqueousSolution.cpp
►
InitialAqueousSolution.h
KineticReactant.cpp
►
KineticReactant.h
ReactionRate.cpp
►
ReactionRate.h
►
SelfContainedSolverData
►
ChemicalSolverInterface.h
►
ChemicalSolverType.h
►
CreateChemicalSolverInterface.cpp
►
CreateChemicalSolverInterface.h
►
PhreeqcIO.cpp
►
PhreeqcIO.h
►
PhreeqcKernel.cpp
►
PhreeqcKernel.h
Documentation
►
GeoLib
►
InfoLib
►
MaterialLib
►
MathLib
►
MeshGeoToolsLib
►
MeshLib
►
MeshToolsLib
►
NumLib
►
ParameterLib
►
ProcessLib
►
File Members
EquilibriumReactants.cpp
Go to the documentation of this file.
1
11
#include "
EquilibriumReactants.h
"
12
13
namespace
ChemistryLib
14
{
15
namespace
PhreeqcKernelData
16
{
17
PhaseComponent::PhaseComponent
(std::string&& name_,
18
double
const
initial_amount,
19
double
const
saturation_index)
20
{
21
name = std::move(name_);
22
moles = initial_amount;
23
si = saturation_index;
24
si_org = saturation_index;
25
}
17
PhaseComponent::PhaseComponent
(std::string&& name_, {
…
}
26
27
EquilibriumReactants::EquilibriumReactants
(
28
std::vector<PhaseComponent>
const
& phase_components)
29
{
30
for
(
auto
const
& phase_component : phase_components)
31
{
32
auto
& name = phase_component.getName();
33
pp_assemblage_comps[name] = *phase_component.castToBaseClass();
34
}
35
}
27
EquilibriumReactants::EquilibriumReactants
( {
…
}
36
}
// namespace PhreeqcKernelData
37
}
// namespace ChemistryLib
EquilibriumReactants.h
ChemistryLib::PhreeqcKernelData::EquilibriumReactants::EquilibriumReactants
EquilibriumReactants(std::vector< PhaseComponent > const &phase_components)
Definition
EquilibriumReactants.cpp:27
ChemistryLib::PhreeqcKernelData::PhaseComponent::PhaseComponent
PhaseComponent(std::string &&name_, double const initial_amount, double const saturation_index)
Definition
EquilibriumReactants.cpp:17
ChemistryLib
Definition
ChemicalSolverInterface.h:31
ChemistryLib
PhreeqcKernelData
EquilibriumReactants.cpp
Generated by
1.12.0