9 #ifndef CT_GENERALSPECIESTHERMO_H
10 #define CT_GENERALSPECIESTHERMO_H
82 virtual void install(
const std::string& name,
size_t index,
int type,
108 virtual void update_one(
size_t k, doublereal T, doublereal* cp_R,
110 doublereal* s_R)
const;
112 virtual void update(doublereal T, doublereal* cp_R,
113 doublereal* h_RT, doublereal* s_R)
const;
125 doublereal& refPressure)
const;
127 #ifdef H298MODIFY_CAPABILITY
129 virtual doublereal reportOneHf298(
int k)
const;
131 virtual void modifyOneHf298(
const int k,
const doublereal Hf298New);
155 std::vector<SpeciesThermoInterpType*>
m_sp;
SpeciesThermoInterpType * provideSTIT(size_t k)
Provide the SpeciesthermoInterpType object.
Pure Virtual Base class for the thermodynamic manager for an individual species' reference state...
Header for a single-species standard state object derived from SpeciesThermoInterpType based on the N...
std::vector< SpeciesThermoInterpType * > m_sp
This is the main unknown in the object.
Virtual base class for the classes that manage the calculation of standard state properties for all t...
virtual void update_one(size_t k, doublereal T, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Like update(), but only updates the single species k.
const size_t npos
index returned by functions to indicate "no position"
This file contains definitions of terms that are used in internal routines and are unlikely to need m...
virtual SpeciesThermo * duplMyselfAsSpeciesThermo() const
Duplication routine for objects derived from SpeciesThermo.
doublereal m_tlow_max
Maximum value of the lowest temperature.
Pure Virtual base class for the species thermo manager classes.
size_t m_kk
Internal variable indicating the length of the number of species in the phase.
Contains const definitions for types of species reference-state thermodynamics managers (see Species ...
A species thermodynamic property manager for a phase.
GeneralSpeciesThermo & operator=(const GeneralSpeciesThermo &b)
Assignment operator.
virtual doublereal maxTemp(size_t k=npos) const
Maximum temperature.
virtual doublereal minTemp(size_t k=npos) const
Minimum temperature.
Header for a single-species standard state object derived from SpeciesThermoInterpType based on the N...
Header for a single-species standard state object derived from.
virtual ~GeneralSpeciesThermo()
Destructor.
This file contains descriptions of templated subclasses of the virtual base class, SpeciesThermo, which includes SpeciesThermoDuo (see Managers for Calculating Reference-State Thermodynamics and class SpeciesThermoDuo)
doublereal m_p0
reference pressure (Pa)
Virtual base class for a species with a pressure dependent standard state.
virtual doublereal refPressure(size_t k=npos) const
The reference-state pressure for species k.
doublereal m_thigh_min
Minimum value of the highest temperature.
virtual void install_STIT(SpeciesThermoInterpType *stit_ptr)
Install a new species thermodynamic property parameterization for one species.
virtual int reportType(size_t index) const
This utility function reports the type of parameterization used for the species with index number ind...
GeneralSpeciesThermo()
Constructor.
virtual void update(doublereal T, doublereal *cp_R, doublereal *h_RT, doublereal *s_R) const
Compute the reference-state properties for all species.
virtual void install(const std::string &name, size_t index, int type, const doublereal *c, doublereal minTemp, doublereal maxTemp, doublereal refPressure)
Install a new species thermodynamic property parameterization for one species.
virtual void reportParams(size_t index, int &type, doublereal *const c, doublereal &minTemp, doublereal &maxTemp, doublereal &refPressure) const
void installPDSShandler(size_t k, PDSS *PDSS_ptr, VPSSMgr *vpssmgr_ptr)
Install a PDSS object to handle the reference state thermodynamics calculation.