12#ifndef CT_SPECIESTHERMOINTERPTYPE_H
13#define CT_SPECIESTHERMOINTERPTYPE_H
209 virtual size_t nCoeffs()
const;
226 double*
const coeffs)
const;
250 virtual double reportHf298(
double*
const h298 = 0)
const;
263 virtual void modifyOneHf298(
const size_t k,
const double Hf298New);
A map of string keys to values whose type can vary at runtime.
An error indicating that an unimplemented function has been called.
Abstract Base class for the thermodynamic manager for an individual species' reference state.
virtual void updateProperties(const double *tt, double *cp_R, double *h_RT, double *s_R) const
Update the properties for this species, given a temperature polynomial.
virtual void reportParameters(size_t &index, int &type, double &minTemp, double &maxTemp, double &refPressure, double *const coeffs) const
This utility function returns the type of parameterization and all of the parameters for the species.
virtual double minTemp() const
Returns the minimum temperature that the thermo parameterization is valid.
virtual double maxTemp() const
Returns the maximum temperature that the thermo parameterization is valid.
double m_Pref
Reference state pressure.
virtual double reportHf298(double *const h298=0) const
Report the 298 K Heat of Formation of the standard state of one species (J kmol-1)
virtual void updateTemperaturePoly(double T, double *T_poly) const
Given the temperature T, compute the terms of the temperature polynomial T_poly.
AnyMap parameters(bool withInput=true) const
Return the parameters of the species thermo object such that an identical species thermo object could...
virtual void setRefPressure(double Pref)
Set the reference pressure [Pa].
virtual void getParameters(AnyMap &thermo) const
Store the parameters of the species thermo object such that an identical species thermo object could ...
virtual void resetHf298()
Restore the original heat of formation for this species.
virtual void validate(const string &name)
Check for problems with the parameterization, and generate warnings or throw and exception if any are...
virtual size_t nCoeffs() const
This utility function returns the number of coefficients for a given type of species parameterization...
double m_lowT
lowest valid temperature
virtual void setMinTemp(double Tmin)
Set the minimum temperature at which the thermo parameterization is valid.
virtual void updatePropertiesTemp(const double temp, double *cp_R, double *h_RT, double *s_R) const
Compute the reference-state property of one species.
virtual double refPressure() const
Returns the reference pressure (Pa)
double m_highT
Highest valid temperature.
virtual size_t temperaturePolySize() const
Number of terms in the temperature polynomial for this parameterization.
virtual void setMaxTemp(double Tmax)
Set the maximum temperature at which the thermo parameterization is valid.
virtual int reportType() const
Returns an integer representing the type of parameterization.
const AnyMap & input() const
Access input data associated with the species thermo definition.
virtual void modifyOneHf298(const size_t k, const double Hf298New)
Modify the value of the 298 K Heat of Formation of one species in the phase (J kmol-1)
This file contains definitions of constants, types and terms that are used in internal routines and a...
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
Namespace for the Cantera kernel.