15 SpeciesThermoInterpType::SpeciesThermoInterpType() :
22 SpeciesThermoInterpType::SpeciesThermoInterpType(
double tlow,
37 "To be removed after Cantera 2.3.");
43 "To be removed after Cantera 2.3.");
53 doublereal* cp_R, doublereal* h_RT, doublereal* s_R)
const 55 double T = tempPoly[0];
61 throw CanteraError(
"SpeciesThermoInterpType::reportHf298",
66 const doublereal Hf298New)
68 throw CanteraError(
"SpeciesThermoInterpType::modifyOneHf298",
77 "Default constructor to be removed after Cantera 2.3.");
82 m_vpssmgr_ptr(vpssmgr_ptr),
89 m_vpssmgr_ptr(b.m_vpssmgr_ptr),
90 m_PDSS_ptr(b.m_PDSS_ptr)
127 doublereal* cp_R, doublereal* h_RT,
128 doublereal* s_R)
const 130 doublereal T = tempPoly[0];
137 doublereal* s_R)
const 146 doublereal& minTemp, doublereal& maxTemp,
147 doublereal& refPressure,
148 doublereal*
const coeffs)
const #define PDSS_TYPE
Type of reference state thermo which is a wrapper around a pressure dependent standard state object...
Abstract Base class for the thermodynamic manager for an individual species' reference state...
virtual doublereal reportHf298(doublereal *const h298=0) const
Report the 298 K Heat of Formation of the standard state of one species (J kmol-1) ...
Virtual base class for the classes that manage the calculation of standard state properties for all t...
Declaration file for a virtual base class that manages the calculation of standard state properties f...
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
doublereal refPressure() const
Return the reference pressure for this phase.
virtual SpeciesThermoInterpType * duplMyselfAsSpeciesThermoInterpType() const
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
void initAllPtrs(size_t speciesIndex, VPSSMgr *vpssmgr_ptr, PDSS *PDSS_ptr)
Initialize and/or Reinitialize all the pointers for this object.
virtual doublereal minTemp(size_t k=npos) const
Minimum temperature.
doublereal maxTemp() const
return the minimum temperature
PDSS * m_PDSS_ptr
Pointer to the PDSS object that handles calls for this object.
virtual void modifyOneHf298(const size_t k, const doublereal Hf298New)
Modify the value of the 298 K Heat of Formation of one species in the phase (J kmol-1) ...
Pure Virtual Base class for individual species reference state thermodynamic managers and text for th...
virtual void reportParameters(size_t &index, int &type, doublereal &minTemp, doublereal &maxTemp, doublereal &refPressure, doublereal *const coeffs) const
This utility function reports back the type of parameterization and all of the parameters for the spe...
virtual void updateProperties(const doublereal *tempPoly, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Update the properties for this species, given a temperature polynomial.
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.
Class for the thermodynamic manager for an individual species' reference state which uses the PDSS ba...
doublereal m_highT
Highest valid temperature.
virtual void updatePropertiesTemp(const doublereal temp, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Compute the reference-state property of one species.
Base class for exceptions thrown by Cantera classes.
doublereal m_lowT
lowest valid temperature
virtual doublereal maxTemp() const
Returns the maximum temperature that the thermo parameterization is valid.
virtual int reportType() const
Returns an integer representing the type of parameterization.
virtual void updateProperties(const doublereal *tt, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Update the properties for this species, given a temperature polynomial.
virtual doublereal minTemp() const
Returns the minimum temperature that the thermo parameterization is valid.
virtual doublereal refPressure() const
Returns the reference pressure (Pa)
Virtual base class for a species with a pressure dependent standard state.
virtual void updatePropertiesTemp(const doublereal temp, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const =0
Compute the reference-state property of one species.
doublereal minTemp() const
return the minimum temperature
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.
doublereal m_Pref
Reference state pressure.
Namespace for the Cantera kernel.
VPSSMgr * m_vpssmgr_ptr
Pointer to the Variable pressure standard state manager that owns the PDSS object that will handle ca...
SpeciesThermoInterpType & operator=(const SpeciesThermoInterpType &b)