50 virtual void updateTemp(doublereal T, doublereal* work)
const {}
69 virtual doublereal
F(doublereal pr,
const doublereal* work)
const {
79 virtual std::string
type()
const {
89 "Replaced by Falloff::type(). To be removed after Cantera 2.5.");
90 return SIMPLE_FALLOFF;
152 virtual void updateTemp(doublereal T, doublereal* work)
const;
154 virtual doublereal
F(doublereal pr,
const doublereal* work)
const;
160 virtual std::string
type()
const {
166 "Replaced by Troe::type(). To be removed after Cantera 2.5.");
232 virtual void updateTemp(doublereal T, doublereal* work)
const;
234 virtual doublereal
F(doublereal pr,
const doublereal* work)
const;
240 virtual std::string
type()
const {
246 "Replaced by SRI::type(). To be removed after Cantera 2.5.");
Base class for falloff function calculators.
virtual size_t nParameters() const
Returns the number of parameters used by this parameterization.
virtual void updateTemp(doublereal T, doublereal *work) const
Update the temperature-dependent portions of the falloff function, if any, and store them in the 'wor...
virtual void getParameters(double *params) const
Get the values of the parameters for this object.
virtual doublereal F(doublereal pr, const doublereal *work) const
The falloff function.
virtual void init(const vector_fp &c)
Initialize.
virtual int getType() const
Return an integer representing the type of the Falloff parameterization.
virtual std::string type() const
Return a string representing the type of the Falloff parameterization.
virtual size_t workSize()
The size of the work array required.
The SRI falloff function.
virtual size_t nParameters() const
Returns the number of parameters used by this parameterization.
doublereal m_c
parameter c in the 5-parameter SRI falloff function. [K]
virtual void updateTemp(doublereal T, doublereal *work) const
Update the temperature parameters in the representation.
doublereal m_b
parameter b in the 5-parameter SRI falloff function. [K]
doublereal m_d
parameter d in the 5-parameter SRI falloff function. Dimensionless.
virtual void getParameters(double *params) const
Sets params to contain, in order,.
virtual void init(const vector_fp &c)
Initialization of the object.
virtual int getType() const
Return an integer representing the type of the Falloff parameterization.
virtual std::string type() const
Return a string representing the type of the Falloff parameterization.
virtual doublereal F(doublereal pr, const doublereal *work) const
The falloff function.
virtual size_t workSize()
The size of the work array required.
doublereal m_e
parameter d in the 5-parameter SRI falloff function. Dimensionless.
doublereal m_a
parameter a in the 5-parameter SRI falloff function. Dimensionless.
The 3- or 4-parameter Troe falloff parameterization.
virtual size_t nParameters() const
Returns the number of parameters used by this parameterization.
virtual void updateTemp(doublereal T, doublereal *work) const
Update the temperature parameters in the representation.
virtual void getParameters(double *params) const
Sets params to contain, in order,.
virtual void init(const vector_fp &c)
Initialization of the object.
doublereal m_t2
parameter T_2 in the 4-parameter Troe falloff function. [K]
virtual int getType() const
Return an integer representing the type of the Falloff parameterization.
virtual std::string type() const
Return a string representing the type of the Falloff parameterization.
virtual doublereal F(doublereal pr, const doublereal *work) const
The falloff function.
virtual size_t workSize()
The size of the work array required.
doublereal m_rt3
parameter 1/T_3 in the 4-parameter Troe falloff function. [K^-1]
doublereal m_rt1
parameter 1/T_1 in the 4-parameter Troe falloff function. [K^-1]
doublereal m_a
parameter a in the 4-parameter Troe falloff function. Dimensionless
This file contains definitions for utility functions and text for modules, inputfiles,...
std::vector< double > vector_fp
Turn on the use of stl vectors for the basic array type within cantera Vector of doubles.
Namespace for the Cantera kernel.
This file defines some constants used to specify reaction types.