OGS
ChemistryLib::PhreeqcKernelData::PhaseComponent Class Referencefinal

Detailed Description

Definition at line 23 of file EquilibriumReactants.h.

#include <EquilibriumReactants.h>

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

Public Member Functions

 PhaseComponent (std::string &&name_, double const initial_amount, double const saturation_index)
 
cxxPPassemblageComp const * castToBaseClass () const
 
std::string const & getName () const
 

Constructor & Destructor Documentation

◆ PhaseComponent()

ChemistryLib::PhreeqcKernelData::PhaseComponent::PhaseComponent ( std::string && name_,
double const initial_amount,
double const saturation_index )

Definition at line 17 of file EquilibriumReactants.cpp.

20{
21 name = std::move(name_);
22 moles = initial_amount;
23 si = saturation_index;
24 si_org = saturation_index;
25}

Member Function Documentation

◆ castToBaseClass()

cxxPPassemblageComp const * ChemistryLib::PhreeqcKernelData::PhaseComponent::castToBaseClass ( ) const
inline

Definition at line 29 of file EquilibriumReactants.h.

30 {
31 return static_cast<cxxPPassemblageComp const*>(this);
32 }

◆ getName()

std::string const & ChemistryLib::PhreeqcKernelData::PhaseComponent::getName ( ) const
inline

Definition at line 34 of file EquilibriumReactants.h.

34{ return Get_name(); }

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