14 SpeciesThermoInterpType::SpeciesThermoInterpType() :
22 SpeciesThermoInterpType::SpeciesThermoInterpType(
size_t n, doublereal tlow,
31 "Use the constructor which does not take a species index."
32 " Applies to all classes derived from SpeciesThermoInterpType."
33 " To be removed after Cantera 2.2.");
36 SpeciesThermoInterpType::SpeciesThermoInterpType(
double tlow,
46 SpeciesThermoInterpType::SpeciesThermoInterpType(
const SpeciesThermoInterpType &b) :
55 doublereal* cp_R, doublereal* h_RT, doublereal* s_R)
const
57 double T = tempPoly[0];
63 throw CanteraError(
"SpeciesThermoInterpType::reportHf298",
68 const doublereal Hf298New)
70 throw CanteraError(
"SpeciesThermoInterpType::modifyOneHf298",
83 m_vpssmgr_ptr(vpssmgr_ptr),
91 m_vpssmgr_ptr(vpssmgr_ptr),
98 m_vpssmgr_ptr(b.m_vpssmgr_ptr),
99 m_PDSS_ptr(b.m_PDSS_ptr)
104 STITbyPDSS::duplMyselfAsSpeciesThermoInterpType()
const
113 "STITbyPDSS::initAllPtrs internal confusion");
139 doublereal* cp_R, doublereal* h_RT,
140 doublereal* s_R)
const
142 doublereal T = tempPoly[0];
149 doublereal* s_R)
const
153 "object was probably not installed correctly");
160 doublereal& minTemp, doublereal& maxTemp,
161 doublereal& refPressure,
162 doublereal*
const coeffs)
const
#define PDSS_TYPE
Type of reference state thermo which is a wrapper around a pressure dependent standard state object...
Pure Virtual Base class for the thermodynamic manager for an individual species' reference state...
virtual doublereal cp_R_ref() const
Return the molar heat capacity divided by R at reference pressure.
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) ...
doublereal maxTemp() const
return the minimum temperature
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...
const size_t npos
index returned by functions to indicate "no position"
virtual doublereal maxTemp(size_t k=npos) const
Maximum temperature.
size_t m_index
species index
void warn_deprecated(const std::string &method, const std::string &extra)
Print a warning indicating that method is deprecated.
doublereal refPressure() const
Return the reference pressure for this phase.
doublereal minTemp() const
return the minimum temperature
void initAllPtrs(size_t speciesIndex, VPSSMgr *vpssmgr_ptr, PDSS *PDSS_ptr)
Initialize and/or Reinitialize all the pointers for this object.
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...
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) ...
#define AssertThrowMsg(expr, procedure, message)
Assertion must be true or an error is thrown.
Pure Virtual Base class for individual species reference state thermodynamic managers and text for th...
Declarations for the virtual base class PDSS (pressure dependent standard state) which handles calcul...
virtual void setTemperature(doublereal temp)
Set the internal temperature.
Class for the thermodynamic manager for an individual species' reference state which uses the PDSS ba...
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.
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.
#define AssertThrow(expr, procedure)
Assertion must be true or an error is thrown.
Base class for exceptions thrown by Cantera classes.
virtual doublereal minTemp(size_t k=npos) const
Minimum temperature.
virtual int reportType() const
Returns an integer representing the type of parameterization.
virtual doublereal refPressure() const
Returns the reference pressure (Pa)
Virtual base class for a species with a pressure dependent standard state.
virtual doublereal minTemp() const
Returns the minimum temperature that the thermo parameterization is valid.
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.
virtual doublereal entropy_R_ref() const
Return the molar entropy divided by R at reference pressure.
virtual doublereal maxTemp() const
Returns the maximum temperature that the thermo parameterization is valid.
virtual void updatePropertiesTemp(const doublereal temp, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Compute the reference-state property of one species.
VPSSMgr * m_vpssmgr_ptr
Pointer to the Variable pressure standard state manager that owns the PDSS object that will handle ca...
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
virtual doublereal enthalpy_RT_ref() const
Return the molar enthalpy divided by RT at reference pressure.