29 doublereal* cp_R, doublereal* h_RT,
30 doublereal* s_R)
const
32 double T = tempPoly[0];
36 #ifdef H298MODIFY_CAPABILITY
38 doublereal SpeciesThermoInterpType::reportHf298(doublereal*
const h298)
const
40 throw CanteraError(
"SpeciesThermoInterpType::reportHf298",
44 void SpeciesThermoInterpType::modifyOneHf298(
const int k,
const doublereal Hf298New)
46 throw CanteraError(
"SpeciesThermoInterpType::modifyOneHf298",
58 m_vpssmgr_ptr(vpssmgr_ptr),
65 m_vpssmgr_ptr(b.m_vpssmgr_ptr),
66 m_PDSS_ptr(b.m_PDSS_ptr)
104 doublereal* cp_R, doublereal* h_RT,
105 doublereal* s_R)
const
107 doublereal T = tempPoly[0];
114 doublereal* s_R)
const
119 "object was probably not installed correctly");
126 doublereal& minTemp, doublereal& maxTemp,
127 doublereal& refPressure,
128 doublereal*
const coeffs)
const
SpeciesThermoInterpType()
Constructor.
#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.
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.
This file contains definitions for utility functions and text for modules, inputfiles, logs, textlogs, HTML_logs (see Input File Handling, Diagnostic Output, Writing messages to the screen and Writing HTML Logfiles).
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
PDSS * m_PDSS_ptr
Pointer to the PDSS object that handles calls for this object.
#define AssertThrowMsg(expr, procedure, message)
Assertion must be true or an error is thrown.
virtual void modifyParameters(doublereal *coeffs)
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 ~SpeciesThermoInterpType()
Destructor.
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 SpeciesThermoInterpType * duplMyselfAsSpeciesThermoInterpType() const
duplicator
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.