36 VPSSMgr(right.m_vptp_ptr, right.m_spthermo)
60 for (
size_t k = 0; k <
m_kk; k++) {
65 void VPSSMgr_IdealGas::getStandardVolumes(doublereal* vol)
const
76 for (
size_t k = 0; k <
m_kk; k++) {
98 std::string model = (*ss)[
"model"];
99 if (model !=
"ideal_gas") {
101 "standardState model for species isn't "
102 "ideal_gas: " + speciesNode.
name());
105 if (
m_Vss.size() < k+1) {
106 m_Vss.resize(k+1, 0.0);
113 *phaseNode_ptr,
true);
121 return cPDSS_IDEALGAS;
Factory to build instances of classes that manage the standard-state thermodynamic properties of a se...
doublereal temperature() const
Return the temperature stored in the object.
bool m_useTmpRefStateStorage
CTML ("Cantera Markup Language") is the variant of XML that Cantera uses to store data...
virtual void _updateStandardStateThermo()
Updates the standard state thermodynamic functions at the current T and P of the solution.
vector_fp m_sss_R
Vector containing the species Standard State entropies at T = m_tlast and P = m_plast.
Various templated functions that carry out common vector operations (see Templated Utility Functions)...
Virtual base class for the classes that manage the calculation of standard state properties for all t...
virtual PDSS * createInstallPDSS(size_t k, const XML_Node &speciesNode, const XML_Node *const phaseNode_ptr)
Create and install an ideal gas standard state manager for one species within this object...
VPSSMgr & operator=(const VPSSMgr &right)
Assignment operator.
Declaration file for a derived class that handles the calculation of standard state thermo properties...
bool m_useTmpStandardStateStorage
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Finalize the thermo after all species have been entered.
static SpeciesThermoFactory * factory()
Static method to return an instance of this class.
virtual PDSS_enumType reportPDSSType(int index=-1) const
This utility function reports the type of parameterization used for the species with index number ind...
size_t m_kk
Number of species in the phase.
Class XML_Node is a tree-based representation of the contents of an XML file.
virtual VPSSMgr_enumType reportVPSSMgrType() const
This utility function reports the type of manager for the calculation of ss properties.
VPSSMgr_IdealGas & operator=(const VPSSMgr_IdealGas &right)
Assignment operator.
VPSSMgr_IdealGas(VPStandardStateTP *vp_ptr, SpeciesThermo *spth)
Basic constructor that initializes the object.
void installThermoForSpecies(size_t k, const XML_Node &speciesNode, ThermoPhase *th_ptr, SpeciesThermo &spthermo, const XML_Node *phaseNode_ptr=0) const
Install a species thermodynamic property parameterization for the reference state for one species int...
Pure Virtual base class for the species thermo manager classes.
VPSSMgr_enumType
enum for VPSSMgr types that are responsible for calculating the species standard state and reference-...
Base class for a phase with thermodynamic properties.
const XML_Node * findByName(const std::string &nm, int depth=100000) const
This routine carries out a recursive search for an XML node based on the name of the node...
Declarations for the class PDSS_IdealGas (pressure dependent standard state) which handles calculatio...
vector_fp m_cp0_R
Vector containing the species reference constant pressure heat capacities at T = m_tlast and P = p_re...
VPStandardStateTP * m_vptp_ptr
Variable pressure ThermoPhase object.
virtual void initThermoXML(XML_Node &phaseNode, const std::string &id)
Finalize the thermo after all species have been entered.
virtual void getEnthalpy_RT(doublereal *hrt) const
Get the nondimensional Enthalpy functions for the species at their standard states at the current T a...
doublereal m_plast
The last pressure at which the Standard State thermodynamic properties were calculated at...
PDSS_enumType
Types of PDSS's.
std::string name() const
Returns the name of the XML node.
Classes providing support for XML data files.
virtual doublereal refPressure(size_t k=npos) const =0
The reference-state pressure for species k.
Base class for exceptions thrown by Cantera classes.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
Variable pressures SS calculator for ideal gas phases.
vector_fp m_Vss
Vector containing the species standard state volumes at T = m_tlast and P = m_plast.
virtual void getIntEnergy_RT(doublereal *urt) const
Returns the vector of nondimensional internal Energies of the standard state at the current temperatu...
vector_fp m_hss_RT
Vector containing the species Standard State enthalpies at T = m_tlast and P = m_plast.
vector_fp m_cpss_R
Vector containing the species Standard State constant pressure heat capacities at T = m_tlast and P =...
Header for factory to build instances of classes that manage the standard-state thermodynamic propert...
Virtual base class for a species with a pressure dependent standard state.
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
A VPSSMgr where all species in the phase obey an ideal gas equation of state.
virtual VPSSMgr * duplMyselfAsVPSSMgr() const
Duplication routine for objects which derive from VPSSMgr.
SpeciesThermo * m_spthermo
Pointer to reference state thermo calculator.
Derived class for pressure dependent standard states of an ideal gas species.
vector_fp m_gss_RT
Vector containing the species Standard State Gibbs functions at T = m_tlast and P = m_plast...
vector_fp m_s0_R
Vector containing the species reference entropies at T = m_tlast and P = p_ref.