ConstCpPoly.h Source File#
ConstCpPoly.h
Go to the documentation of this file.
Pure Virtual Base class for individual species reference state thermodynamic managers and text for th...
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
A constant-heat capacity species thermodynamic property manager class.
Definition ConstCpPoly.h:45
int reportType() const override
Returns an integer representing the type of parameterization.
Definition ConstCpPoly.h:69
void getParameters(AnyMap &thermo) const override
Store the parameters of the species thermo object such that an identical species thermo object could ...
Definition ConstCpPoly.cpp:77
size_t nCoeffs() const override
This utility function returns the number of coefficients for a given type of species parameterization...
Definition ConstCpPoly.h:86
void setParameters(double t0, double h0, double s0, double cp0)
Set ConstCpPoly parameters.
Definition ConstCpPoly.cpp:29
void reportParameters(size_t &n, int &type, double &tlow, double &thigh, double &pref, double *const coeffs) const override
This utility function returns the type of parameterization and all of the parameters for the species.
Definition ConstCpPoly.cpp:63
double m_h0_R_orig
Original value of h0_R, restored by calling resetHf298()
Definition ConstCpPoly.h:109
void updateProperties(const double *tt, double *cp_R, double *h_RT, double *s_R) const override
Update the properties for this species, given a temperature polynomial.
Definition ConstCpPoly.cpp:38
double reportHf298(double *const h298=nullptr) const override
Report the 298 K Heat of Formation of the standard state of one species (J kmol-1)
Definition ConstCpPoly.cpp:87
void resetHf298() override
Restore the original heat of formation for this species.
Definition ConstCpPoly.cpp:104
void modifyOneHf298(const size_t k, const double Hf298New) override
Modify the value of the 298 K Heat of Formation of one species in the phase (J kmol-1)
Definition ConstCpPoly.cpp:97
void updatePropertiesTemp(const double temp, double *cp_R, double *h_RT, double *s_R) const override
Compute the reference-state property of one species.
Definition ConstCpPoly.cpp:51
Abstract Base class for the thermodynamic manager for an individual species' reference state.
Definition SpeciesThermoInterpType.h:113
Contains const definitions for types of species reference-state thermodynamics managers (see Species ...
Generated by