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;
Header file for an ideal solid solution model with incompressible thermodynamics (see Thermodynamic P...
Overloads the virtual methods of class IdealSolidSolnPhase to implement tabulated standard state ther...
double m_xlast
Current tabulated species mole fraction.
BinarySolutionTabulatedThermo()
Default constructor for BinarySolutionTabulatedThermo.
double m_s0_tab
Tabulated contribution to s0[m_kk_tab] at the current composition.
vector_fp m_molefrac_tab
Vector for storing tabulated thermo.
size_t m_kk_tab
Current tabulated species index.
virtual void initThermo()
Initialize the ThermoPhase object after all species have been set up.
std::pair< double, double > interpolate(double x) const
Species thermodynamics interpolation functions.
virtual std::string type() const
String indicating the thermodynamic model implemented.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id_)
Import and initialize a ThermoPhase object using an XML tree.
double m_h0_tab
Tabulated contribution to h0[m_kk_tab] at the current composition.
virtual void compositionChanged()
If the compositions have changed, update the tabulated thermo lookup.
virtual void _updateThermo() const
This function gets called for every call to functions in this class.
Class IdealSolidSolnPhase represents a condensed phase ideal solution compound.
Class XML_Node is a tree-based representation of the contents of an XML file.
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
Namespace for the Cantera kernel.
Various templated functions that carry out common vector operations (see Templated Utility Functions)...