SpeciesThermoInterpType.h Source File#
SpeciesThermoInterpType.h
Go to the documentation of this file.
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
An error indicating that an unimplemented function has been called.
Definition ctexceptions.h:195
Abstract Base class for the thermodynamic manager for an individual species' reference state.
Definition SpeciesThermoInterpType.h:113
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.
Definition SpeciesThermoInterpType.cpp:23
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.
Definition SpeciesThermoInterpType.cpp:41
virtual double minTemp() const
Returns the minimum temperature that the thermo parameterization is valid.
Definition SpeciesThermoInterpType.h:127
virtual double maxTemp() const
Returns the maximum temperature that the thermo parameterization is valid.
Definition SpeciesThermoInterpType.h:138
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)
Definition SpeciesThermoInterpType.cpp:65
virtual void updateTemperaturePoly(double T, double *T_poly) const
Given the temperature T, compute the terms of the temperature polynomial T_poly.
Definition SpeciesThermoInterpType.h:169
AnyMap parameters(bool withInput=true) const
Return the parameters of the species thermo object such that an identical species thermo object could...
Definition SpeciesThermoInterpType.cpp:48
virtual void setRefPressure(double Pref)
Set the reference pressure [Pa].
Definition SpeciesThermoInterpType.h:153
virtual void getParameters(AnyMap &thermo) const
Store the parameters of the species thermo object such that an identical species thermo object could ...
Definition SpeciesThermoInterpType.cpp:58
virtual void resetHf298()
Restore the original heat of formation for this species.
Definition SpeciesThermoInterpType.h:269
virtual void validate(const string &name)
Check for problems with the parameterization, and generate warnings or throw and exception if any are...
Definition SpeciesThermoInterpType.h:159
virtual size_t nCoeffs() const
This utility function returns the number of coefficients for a given type of species parameterization...
Definition SpeciesThermoInterpType.cpp:36
virtual void setMinTemp(double Tmin)
Set the minimum temperature at which the thermo parameterization is valid.
Definition SpeciesThermoInterpType.h:132
virtual void updatePropertiesTemp(const double temp, double *cp_R, double *h_RT, double *s_R) const
Compute the reference-state property of one species.
Definition SpeciesThermoInterpType.cpp:30
virtual double refPressure() const
Returns the reference pressure (Pa)
Definition SpeciesThermoInterpType.h:148
virtual size_t temperaturePolySize() const
Number of terms in the temperature polynomial for this parameterization.
Definition SpeciesThermoInterpType.h:165
virtual void setMaxTemp(double Tmax)
Set the maximum temperature at which the thermo parameterization is valid.
Definition SpeciesThermoInterpType.h:143
virtual int reportType() const
Returns an integer representing the type of parameterization.
Definition SpeciesThermoInterpType.h:162
const AnyMap & input() const
Access input data associated with the species thermo definition.
Definition SpeciesThermoInterpType.cpp:75
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)
Definition SpeciesThermoInterpType.cpp:70
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...
Generated by