16#ifndef CT_NASA9POLYMULTITEMPREGION_H
17#define CT_NASA9POLYMULTITEMPREGION_H
69 span<const double> coeffs);
77 void setParameters(
const map<
double, vector<double>>& regions);
86 double& s_R)
const override;
89 double& h_RT,
double& s_R)
const override;
91 size_t nCoeffs()
const override;
113 double& pref, span<double> coeffs)
const override;
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.
The NASA 9 polynomial parameterization for a single species encompassing multiple temperature regions...
int reportType() const override
Returns an integer representing the type of parameterization.
void setParameters(const map< double, vector< double > > ®ions)
Set the array of polynomial coefficients for each temperature region.
void updatePropertiesTemp(const double temp, double &cp_R, double &h_RT, double &s_R) const override
Compute the reference-state property of one species.
size_t temperaturePolySize() const override
Number of terms in the temperature polynomial for this parameterization.
void getParameters(AnyMap &thermo) const override
Store the parameters of the species thermo object such that an identical species thermo object could ...
size_t nCoeffs() const override
This utility function returns the number of coefficients for a given type of species parameterization...
void reportParameters(size_t &n, int &type, double &tlow, double &thigh, double &pref, span< double > coeffs) const override
This utility function reports back the type of parameterization and all of the parameters for the spe...
void updateTemperaturePoly(double T, span< double > T_poly) const override
Given the temperature T, compute the terms of the temperature polynomial T_poly.
vector< double > m_lowerTempBounds
Lower boundaries of each temperature regions.
vector< unique_ptr< Nasa9Poly1 > > m_regionPts
Individual temperature region objects.
int m_currRegion
current region
void updateProperties(span< const double > tt, double &cp_R, double &h_RT, double &s_R) const override
Update the properties for this species, given a temperature polynomial.
Abstract Base class for the thermodynamic manager for an individual species' reference state.
Namespace for the Cantera kernel.