ChebyshevRate.cpp Source File#
ChebyshevRate.cpp
Go to the documentation of this file.
Header file for class ThermoPhase, the base class for phases with thermodynamic properties,...
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
bool hasKey(const string &key) const
Returns true if the map contains an item named key.
Definition AnyMap.cpp:1423
const UnitSystem & units() const
Return the default units that should be used to convert stored values.
Definition AnyMap.h:630
A wrapper for a variable whose type is determined at runtime.
Definition AnyMap.h:86
const vector< T > & asVector(size_t nMin=npos, size_t nMax=npos) const
Return the held value, if it is a vector of type T.
Definition AnyMap.inl.h:109
A class for 2D arrays stored in column-major (Fortran-compatible) form.
Definition Array.h:32
Base class for exceptions thrown by Cantera classes.
Definition ctexceptions.h:66
Pressure-dependent rate expression where the rate coefficient is expressed as a bivariate Chebyshev p...
Definition ChebyshevRate.h:92
void setParameters(const AnyMap &node, const UnitStack &rate_units) override
Perform object setup based on AnyMap node information.
Definition ChebyshevRate.cpp:63
void validate(const string &equation, const Kinetics &kin) override
Validate the reaction rate expression.
Definition ChebyshevRate.cpp:160
vector< double > dotProd_
dot product of coeffs with the reduced pressure polynomial
Definition ChebyshevRate.h:229
void setData(const Array2D &coeffs)
Set the Chebyshev coefficients as 2-dimensional array.
Definition ChebyshevRate.cpp:114
void setLimits(double Tmin, double Tmax, double Pmin, double Pmax)
Set limits for ChebyshevRate object.
Definition ChebyshevRate.cpp:96
Error thrown for problems processing information contained in an AnyMap or AnyValue.
Definition AnyMap.h:738
virtual void setParameters(const AnyMap &node, const UnitStack &units)
Set parameters.
Definition ReactionRate.h:101
const Units & conversionUnits() const
Get the units for converting the leading term in the reaction rate expression.
Definition ReactionRate.h:121
bool valid() const
Get flag indicating whether reaction rate is set up correctly.
Definition ReactionRate.h:203
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
double convertRateCoeff(const AnyValue &val, const Units &dest) const
Convert a generic AnyValue node representing a reaction rate coefficient to the units specified in de...
Definition Units.cpp:631
double convert(double value, const string &src, const string &dest) const
Convert value from the units of src to the units of dest.
Definition Units.cpp:538
A representation of the units associated with a dimensional quantity.
Definition Units.h:35
double factor() const
Return the factor for converting from this unit to Cantera's base units.
Definition Units.h:53
const double Tiny
Small number to compare differences of mole fractions against.
Definition ct_defs.h:173
void perturbPressure(double deltaP)
Perturb pressure of data container.
Definition ChebyshevRate.cpp:29
void update(double T) override
Update data container based on temperature T
Definition ChebyshevRate.cpp:12
Generated by 1.9.7