OGS
ChemistryLib::PhreeqcKernelData::KineticReactant Class Referencefinal

Detailed Description

Definition at line 15 of file PhreeqcKernelData/KineticReactant.h.

#include <KineticReactant.h>

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

Public Member Functions

 KineticReactant (std::string name, double const initial_amount)
cxxKineticsComp const * castToBaseClass () const

Constructor & Destructor Documentation

◆ KineticReactant()

ChemistryLib::PhreeqcKernelData::KineticReactant::KineticReactant ( std::string name,
double const initial_amount )

Definition at line 12 of file PhreeqcKernelData/KineticReactant.cpp.

13{
14 rate_name = std::move(name);
15 namecoef.add(rate_name.c_str(), 1.0);
16 m = initial_amount;
17 m0 = initial_amount;
18}

Member Function Documentation

◆ castToBaseClass()

cxxKineticsComp const * ChemistryLib::PhreeqcKernelData::KineticReactant::castToBaseClass ( ) const
inline

Definition at line 20 of file PhreeqcKernelData/KineticReactant.h.

21 {
22 return static_cast<cxxKineticsComp const*>(this);
23 }

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