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-293-gce72897f 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
KineticReactant.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include <phreeqcpp/cxxKinetics.h>
14
15
#include <string>
16
#include <vector>
17
18
namespace
ChemistryLib
19
{
20
namespace
PhreeqcKernelData
21
{
22
class
KineticReactant
final :
private
cxxKineticsComp
23
{
24
public
:
25
KineticReactant
(std::string name,
double
const
initial_amount);
26
27
cxxKineticsComp
const
*
castToBaseClass
()
const
28
{
29
return
static_cast<
cxxKineticsComp const*
>
(
this
);
30
}
27
cxxKineticsComp
const
*
castToBaseClass
()
const
{
…
}
31
};
22
class
KineticReactant
final :
private
cxxKineticsComp {
…
};
32
33
class
Kinetics
final :
private
cxxKinetics
34
{
35
public
:
36
explicit
Kinetics
(std::vector<KineticReactant>
const
& kinetic_reactants);
37
38
void
setChemicalSystemID
(std::size_t
const
chemical_system_id)
39
{
40
Set_n_user_both(chemical_system_id);
41
}
38
void
setChemicalSystemID
(std::size_t
const
chemical_system_id) {
…
}
42
43
cxxKinetics
const
*
castToBaseClass
()
const
44
{
45
return
static_cast<
cxxKinetics const*
>
(
this
);
46
}
43
cxxKinetics
const
*
castToBaseClass
()
const
{
…
}
47
};
33
class
Kinetics
final :
private
cxxKinetics {
…
};
48
}
// namespace PhreeqcKernelData
49
}
// namespace ChemistryLib
ChemistryLib::PhreeqcKernelData::KineticReactant
Definition
KineticReactant.h:23
ChemistryLib::PhreeqcKernelData::KineticReactant::KineticReactant
KineticReactant(std::string name, double const initial_amount)
Definition
KineticReactant.cpp:19
ChemistryLib::PhreeqcKernelData::KineticReactant::castToBaseClass
cxxKineticsComp const * castToBaseClass() const
Definition
KineticReactant.h:27
ChemistryLib::PhreeqcKernelData::Kinetics
Definition
KineticReactant.h:34
ChemistryLib::PhreeqcKernelData::Kinetics::castToBaseClass
cxxKinetics const * castToBaseClass() const
Definition
KineticReactant.h:43
ChemistryLib::PhreeqcKernelData::Kinetics::Kinetics
Kinetics(std::vector< KineticReactant > const &kinetic_reactants)
Definition
KineticReactant.cpp:27
ChemistryLib::PhreeqcKernelData::Kinetics::setChemicalSystemID
void setChemicalSystemID(std::size_t const chemical_system_id)
Definition
KineticReactant.h:38
ChemistryLib
Definition
ChemicalSolverInterface.h:31
ChemistryLib
PhreeqcKernelData
KineticReactant.h
Generated by
1.12.0