11 #ifndef CT_CONSTCPPOLY_H 12 #define CT_CONSTCPPOLY_H 59 ConstCpPoly(
double tlow,
double thigh,
double pref,
const double* coeffs);
73 doublereal* cp_R, doublereal* h_RT,
74 doublereal* s_R)
const;
77 doublereal* cp_R, doublereal* h_RT,
78 doublereal* s_R)
const;
80 doublereal& tlow, doublereal& thigh,
82 doublereal*
const coeffs)
const;
84 virtual doublereal
reportHf298(doublereal*
const h298 = 0)
const;
85 virtual void modifyOneHf298(
const size_t k,
const doublereal Hf298New);
void updatePropertiesTemp(const doublereal temp, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Compute the reference-state property of one species.
ConstCpPoly(double tlow, double thigh, double pref, const double *coeffs)
Normal constructor.
Abstract Base class for the thermodynamic manager for an individual species' reference state...
#define CONSTANT_CP
Constant Cp.
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) ...
void reportParameters(size_t &n, int &type, doublereal &tlow, doublereal &thigh, doublereal &pref, doublereal *const coeffs) const
This utility function reports back the type of parameterization and all of the parameters for the spe...
doublereal m_s0_R
Dimensionless value of the entropy at t0.
A constant-heat capacity species thermodynamic property manager class.
virtual int reportType() const
Returns an integer representing the type of parameterization.
Pure Virtual Base class for individual species reference state thermodynamic managers and text for th...
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.
double m_h0_R_orig
Original value of h0_R, restored by calling resetHf298()
doublereal m_h0_R
dimensionless value of the enthaply at t0
doublereal m_t0
Base temperature.
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) ...
Namespace for the Cantera kernel.
virtual void resetHf298()
Restore the original heat of formation for this species.
doublereal m_logt0
log of the t0 value
doublereal m_cp0_R
Dimensionless value of the heat capacity.