Go to the documentation of this file.
11 #ifndef CT_BINARYSOLUTIONTABULATEDTHERMO_H
12 #define CT_BINARYSOLUTIONTABULATEDTHERMO_H
145 virtual std::string
type()
const {
146 return "BinarySolutionTabulatedThermo";
157 std::pair<double,double>
interpolate(
double x)
const;
Overloads the virtual methods of class IdealSolidSolnPhase to implement tabulated standard state ther...
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
double m_h0_tab
Tabulated contribution to h0[m_kk_tab] at the current composition.
Class XML_Node is a tree-based representation of the contents of an XML file.
BinarySolutionTabulatedThermo()
Default constructor for BinarySolutionTabulatedThermo.
size_t m_kk_tab
Current tabulated species index.
virtual std::string type() const
String indicating the thermodynamic model implemented.
vector_fp m_molefrac_tab
Vector for storing tabulated thermo.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id_)
Import and initialize a ThermoPhase object using an XML tree.
double m_s0_tab
Tabulated contribution to s0[m_kk_tab] at the current composition.
Class IdealSolidSolnPhase represents a condensed phase ideal solution compound.
std::pair< double, double > interpolate(double x) const
Species thermodynamics interpolation functions.
virtual void _updateThermo() const
This function gets called for every call to functions in this class.
virtual void compositionChanged()
If the compositions have changed, update the tabulated thermo lookup.
Namespace for the Cantera kernel.
virtual void initThermo()
Initialize the ThermoPhase object after all species have been set up.
double m_xlast
Current tabulated species mole fraction.