14 #ifndef CT_MASKELLSOLIDSOLNPHASE_H
15 #define CT_MASKELLSOLIDSOLNPHASE_H
145 virtual void setDensity(
const doublereal rho);
272 void set_h_mix(
const doublereal hmix) {
h_mixing = hmix; }
309 int reactant_species_index;
312 doublereal s()
const;
313 doublereal fm(
const doublereal r)
const;
314 doublereal p(
const doublereal r)
const;
vector_fp m_cp0_R
Vector containing the species reference constant pressure heat capacities at T = m_tlast.
void _updateThermo() const
Function to call through to m_spthermo->update and fill m_h0_RT, m_cp0_R, m_g0_RT, m_s0_R.
virtual doublereal entropy_mole() const
Molar entropy of the solution.
vector_fp m_h0_RT
Vector containing the species reference enthalpies at T = m_tlast.
virtual doublereal logStandardConc(size_t k=0) const
Natural logarithm of the standard concentration of the kth species.
virtual void setMolarDensity(const doublereal rho)
Overwritten setMolarDensity() function is necessary because the density is not an independent variabl...
MaskellSolidSolnPhase & operator=(const MaskellSolidSolnPhase &)
Assignment operator.
virtual doublereal pressure() const
Pressure.
virtual doublereal standardConcentration(size_t k=0) const
Return the standard concentration for the kth species.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual void getStandardChemPotentials(doublereal *mu) const
Get the array of chemical potentials at unit activity for the species at their standard states at the...
doublereal h_mixing
Value of the enthalpy change on mixing due to protons changing from type B to type A configurations...
virtual void getPartialMolarVolumes(doublereal *vbar) const
returns an array of partial molar volumes of the species in the solution.
Base class for a phase with thermodynamic properties.
virtual void getPartialMolarEnthalpies(doublereal *hbar) const
Returns an array of partial molar enthalpies for the species in the mixture.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
virtual void getActivityCoefficients(doublereal *ac) const
Get the array of species activity coefficients.
virtual ThermoPhase * duplMyselfAsThermoPhase() const
virtual void getChemPotentials(doublereal *mu) const
Get the species chemical potentials.
int product_species_index
Index of the species whose mole fraction defines the extent of reduction r.
virtual doublereal enthalpy_mole() const
Molar enthalpy of the solution.
virtual void calcDensity()
Calculate the density of the mixture using the partial molar volumes and mole fractions as input...
virtual void setDensity(const doublereal rho)
Overwritten setDensity() function is necessary because the density is not an independent variable...
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
virtual void getActivityConcentrations(doublereal *c) const
This method returns the array of generalized concentrations.
virtual void getPartialMolarEntropies(doublereal *sbar) const
Returns an array of partial molar entropies of the species in the solution.
vector_fp m_s0_R
Vector containing the species reference entropies at T = m_tlast.
virtual void getPureGibbs(doublereal *gpure) const
Get the Gibbs functions for the standard state of the species at the current T and P of the solution...
doublereal m_Pcurrent
m_Pcurrent = The current pressure Since the density isn't a function of pressure, but only of the mol...
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
virtual void getPartialMolarCp(doublereal *cpbar) const
Returns an array of partial molar Heat Capacities at constant pressure of the species in the solution...
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
Class MaskellSolidSolnPhase represents a condensed phase non-ideal solution with 2 species following ...
virtual void getChemPotentials_RT(doublereal *mu) const
Get the array of non-dimensional species solution chemical potentials at the current T and P...
virtual void setPressure(doublereal p)
Set the pressure at constant temperature.
vector_fp m_g0_RT
Vector containing the species reference Gibbs functions at T = m_tlast.