Nasa9PolyMultiTempRegion.cpp Source File#
Nasa9PolyMultiTempRegion.cpp
Go to the documentation of this file.
25Nasa9PolyMultiTempRegion::Nasa9PolyMultiTempRegion(vector<Nasa9Poly1*>& regionPts)
Header for a single-species standard state object derived from SpeciesThermoInterpType based on the N...
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
Base class for exceptions thrown by Cantera classes.
Definition ctexceptions.h:66
The NASA 9 polynomial parameterization for one temperature range.
Definition Nasa9Poly1.h:60
void setParameters(const vector< double > &coeffs)
Set the array of 9 polynomial coefficients.
Definition Nasa9Poly1.cpp:33
int reportType() const override
Returns an integer representing the type of parameterization.
Definition Nasa9PolyMultiTempRegion.cpp:100
void setParameters(const map< double, vector< double > > ®ions)
Set the array of polynomial coefficients for each temperature region.
Definition Nasa9PolyMultiTempRegion.cpp:82
void getParameters(AnyMap &thermo) const override
Store the parameters of the species thermo object such that an identical species thermo object could ...
Definition Nasa9PolyMultiTempRegion.cpp:175
size_t nCoeffs() const override
This utility function returns the number of coefficients for a given type of species parameterization...
Definition Nasa9PolyMultiTempRegion.cpp:145
void updateTemperaturePoly(double T, double *T_poly) const override
Given the temperature T, compute the terms of the temperature polynomial T_poly.
Definition Nasa9PolyMultiTempRegion.cpp:105
void reportParameters(size_t &n, int &type, double &tlow, double &thigh, double &pref, double *const coeffs) const override
This utility function reports back the type of parameterization and all of the parameters for the spe...
Definition Nasa9PolyMultiTempRegion.cpp:150
vector< double > m_lowerTempBounds
Lower boundaries of each temperature regions.
Definition Nasa9PolyMultiTempRegion.h:119
vector< unique_ptr< Nasa9Poly1 > > m_regionPts
Individual temperature region objects.
Definition Nasa9PolyMultiTempRegion.h:122
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 Nasa9PolyMultiTempRegion.cpp:116
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 Nasa9PolyMultiTempRegion.cpp:130
Abstract Base class for the thermodynamic manager for an individual species' reference state.
Definition SpeciesThermoInterpType.h:113
virtual double maxTemp() const
Returns the maximum temperature that the thermo parameterization is valid.
Definition SpeciesThermoInterpType.h:138
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 setMinTemp(double Tmin)
Set the minimum temperature at which the thermo parameterization is valid.
Definition SpeciesThermoInterpType.h:132
virtual double refPressure() const
Returns the reference pressure (Pa)
Definition SpeciesThermoInterpType.h:148
Definitions for the classes that are thrown when Cantera experiences an error condition (also contain...
Contains const definitions for types of species reference-state thermodynamics managers (see Species ...
#define NASA9MULTITEMP
9 coefficient NASA Polynomials in multiple temperature regions This is implemented in the class Nasa9...
Definition speciesThermoTypes.h:58
Generated by