18 m_pdssType(cPDSS_UNDEF),
43 m_pdssType(cPDSS_UNDEF),
74 m_pdssType(cPDSS_UNDEF),
83 m_spindex(b.m_spindex),
84 m_spthermo(b.m_spthermo),
85 m_h0_RT_ptr(b.m_h0_RT_ptr),
86 m_cp0_R_ptr(b.m_cp0_R_ptr),
87 m_s0_R_ptr(b.m_s0_R_ptr),
88 m_g0_RT_ptr(b.m_g0_RT_ptr),
90 m_hss_RT_ptr(b.m_hss_RT_ptr),
91 m_cpss_R_ptr(b.m_cpss_R_ptr),
92 m_sss_R_ptr(b.m_sss_R_ptr),
93 m_gss_RT_ptr(b.m_gss_RT_ptr),
94 m_Vss_ptr(b.m_Vss_ptr)
97 " Cantera 2.3 for all classes derived from PDSS.");
106 " Cantera 2.3 for all classes derived from PDSS.");
157 "To be removed after Cantera 2.3.");
158 return new PDSS(*
this);
163 warn_deprecated(
"PDSS::reportPDSSType",
"To be removed after Cantera 2.3.");
187 warn_deprecated(
"PDSS::initAllPtrs",
"To be removed after Cantera 2.3 " 188 "for all classes derived from PDSS.");
382 doublereal& minTemp_,
383 doublereal& maxTemp_,
384 doublereal& refPressure_)
const vector_fp mPDSS_s0_R
species reference entropies - used by individual PDSS objects
virtual doublereal critPressure() const
critical pressure
void initPtrs()
Initialize all of the internal shallow pointers that can be initialized.
virtual doublereal entropy_mole() const
Return the molar entropy in units of J kmol-1 K-1.
CTML ("Cantera Markup Language") is the variant of XML that Cantera uses to store data...
virtual doublereal gibbs_RT() const
Return the molar Gibbs free energy divided by RT.
vector_fp mPDSS_V0
species reference state molar Volumes - used by individual PDSS objects
An error indicating that an unimplemented function has been called.
doublereal * m_cpss_R_ptr
Standard state heat capacity divided by R.
Virtual base class for the classes that manage the calculation of standard state properties for all t...
virtual doublereal entropy_mole() const
Return the molar entropy in units of J kmol-1 K-1.
virtual void initThermoXML(const XML_Node &phaseNode, const std::string &id)
Initialization routine for the PDSS object based on the phaseNode.
virtual void setPressure(doublereal pres)
Sets the pressure in the object.
doublereal * m_h0_RT_ptr
Reference state enthalpy divided by RT.
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
virtual doublereal entropy_R() const
Return the standard state entropy divided by RT.
const size_t npos
index returned by functions to indicate "no position"
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
virtual doublereal density() const
Return the standard state density at standard state.
virtual doublereal satPressure(doublereal T)
saturation pressure
doublereal m_pres
State of the system - pressure.
vector_fp mPDSS_cpss_R
species standard state heat capacities - used by individual PDSS objects
doublereal molecularWeight() const
Return the molecular weight of the species in units of kg kmol-1.
Class XML_Node is a tree-based representation of the contents of an XML file.
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
virtual doublereal cv_mole() const
Return the molar const volume heat capacity in units of J kmol-1 K-1.
VPSSMgr * m_vpssmgr_ptr
Pointer to the VPSS manager for this object.
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
virtual doublereal temperature() const
Return the current stored temperature.
virtual doublereal pressure() const
Returns the pressure (Pa)
size_t m_spindex
Species index in the ThermoPhase corresponding to this species.
virtual void initThermo()
virtual doublereal cpDelp_mole() const
Get the difference in standard state heat capacity between the current pressure and the reference pre...
virtual doublereal cp_R() const
Return the molar const pressure heat capacity divided by RT.
void setMolecularWeight(doublereal mw)
Set the molecular weight of the species.
doublereal * m_gss_RT_ptr
Standard state Gibbs free energy divided by RT.
virtual doublereal minTemp(size_t k=npos) const
Minimum temperature.
PDSS_enumType m_pdssType
Enumerated type describing the type of the PDSS object.
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
virtual doublereal intEnergy_mole() const
Return the molar internal Energy in units of J kmol-1.
virtual MultiSpeciesThermo & speciesThermo(int k=-1)
Return a changeable reference to the calculation manager for species reference-state thermodynamic pr...
virtual doublereal entropy_R() const
Return the standard state entropy divided by RT.
doublereal * m_sss_R_ptr
Standard state entropy divided by R.
virtual doublereal molarVolume_ref() const
Return the molar volume at reference pressure.
virtual doublereal refPressure(size_t k=npos) const
The reference-state pressure for the standard state.
virtual void initAllPtrs(VPStandardStateTP *vptp_ptr, VPSSMgr *vpssmgr_ptr, MultiSpeciesThermo *spthermo_ptr)
Initialize or Reinitialize all shallow pointers in the object.
virtual doublereal molarVolume() const
Return the molar volume at standard state.
vector_fp mPDSS_cp0_R
species reference heat capacities - used by individual PDSS objects
virtual void initThermo()
Initialization routine for all of the shallow pointers.
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
virtual doublereal maxTemp(size_t k=npos) const
Maximum temperature.
virtual void setTemperature(doublereal temp)
Set the internal temperature.
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
PDSS_enumType reportPDSSType() const
Returns the type of the standard state parameterization.
PDSS_enumType
Types of PDSS's.
vector_fp mPDSS_g0_RT
species reference Gibbs free energies - used by individual PDSS objects
#define AssertThrow(expr, procedure)
Assertion must be true or an error is thrown.
doublereal * m_s0_R_ptr
Reference state entropy divided by R.
virtual doublereal critDensity() const
critical density
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
virtual doublereal thermalExpansionCoeff() const
Return the volumetric thermal expansion coefficient. Units: 1/K.
This is a filter class for ThermoPhase that implements some prepatory steps for efficiently handling ...
virtual doublereal gibbs_RT_ref() const
Return the molar Gibbs free energy divided by RT at reference pressure.
virtual doublereal gibbs_RT() const
Return the molar Gibbs free energy divided by RT.
vector_fp mPDSS_sss_R
species standard state entropies - used by individual PDSS objects
virtual doublereal enthalpyDelp_mole() const
Get the difference in the standard state enthalpy between the current pressure and the reference pres...
vector_fp mPDSS_Vss
species standard state molar Volumes - used by individual PDSS objects
doublereal m_maxTemp
Maximum temperature.
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
doublereal m_minTemp
Minimum temperature.
doublereal * m_hss_RT_ptr
Standard state enthalpy divided by RT.
vector_fp mPDSS_gss_RT
species standard state Gibbs free energies - used by individual PDSS objects
virtual void setState_TR(doublereal temp, doublereal rho)
Set the internal temperature and density.
virtual doublereal gibbsDelp_mole() const
Get the difference in the standard state Gibbs free energy between the current pressure and the refer...
virtual void reportParams(size_t &kindex, int &type, doublereal *const c, doublereal &minTemp, doublereal &maxTemp, doublereal &refPressure) const
This utility function reports back the type of parameterization and all of the parameters for the spe...
virtual doublereal enthalpy_mole() const
Return the molar enthalpy in units of J kmol-1.
Header file for a derived class of ThermoPhase that handles variable pressure standard state methods ...
Virtual base class for a species with a pressure dependent standard state.
vector_fp mPDSS_hss_RT
species standard state enthalpies - used by individual PDSS objects
VPStandardStateTP * m_tp
ThermoPhase which this species belongs to.
const doublereal GasConstant
Universal Gas Constant. [J/kmol/K].
doublereal m_temp
Current temperature used by the PDSS object.
virtual doublereal gibbs_mole() const
Return the molar Gibbs free energy in units of J kmol-1.
PDSS & operator=(const PDSS &b)
doublereal * m_g0_RT_ptr
Reference state Gibbs free energy divided by RT.
virtual doublereal entropyDelp_mole() const
Get the difference in the standard state entropy between the current pressure and the reference press...
doublereal * m_cp0_R_ptr
Reference state heat capacity divided by R.
MultiSpeciesThermo * m_spthermo
Pointer to the species thermodynamic property manager.
virtual PDSS * duplMyselfAsPDSS() const
Duplication routine for objects which inherit from PDSS.
doublereal * m_Vss_ptr
Standard State molar volume (m3 kg-1)
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
virtual doublereal cp_mole() const
Return the molar const pressure heat capacity in units of J kmol-1 K-1.
A species thermodynamic property manager for a phase.
doublereal * m_V0_ptr
Reference state molar volume (m3 kg-1)
doublereal molecularWeight(size_t k) const
Molecular weight of species k.
vector_fp mPDSS_h0_RT
species reference enthalpies - used by individual PDSS objects
Namespace for the Cantera kernel.
virtual doublereal enthalpy_RT() const
Return the standard state molar enthalpy divided by RT.
VPSSMgr * provideVPSSMgr()
Return a pointer to the VPSSMgr for this phase.
virtual void setState_TP(doublereal temp, doublereal pres)
Set the internal temperature and pressure.
doublereal m_p0
Reference state pressure of the species.
doublereal m_mw
Molecular Weight of the species.
virtual doublereal critTemperature() const
critical temperature