OGS
ChemistryLib::PhreeqcKernelData::KineticReactant Class Referencefinal

Detailed Description

Definition at line 22 of file 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 19 of file KineticReactant.cpp.

20{
21 rate_name = std::move(name);
22 namecoef.add(rate_name.c_str(), 1.0);
23 m = initial_amount;
24 m0 = initial_amount;
25}

Member Function Documentation

◆ castToBaseClass()

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

Definition at line 27 of file KineticReactant.h.

28 {
29 return static_cast<cxxKineticsComp const*>(this);
30 }

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