The 5-parameter SRI falloff function. More...
Public Member Functions | |
SRI5 () | |
Constructor. | |
virtual | ~SRI5 () |
Destructor. | |
virtual void | init (const vector_fp &c) |
Initialization of the object. | |
virtual void | updateTemp (doublereal T, workPtr work) const |
Update the temperature parameters in the representation. | |
virtual doublereal | F (doublereal pr, const_workPtr work) const |
Function that returns F | |
virtual size_t | workSize () |
Utility function that returns the size of the workspace. | |
Protected Attributes | |
doublereal | m_a |
parameter a in the 5-parameter SRI falloff function | |
doublereal | m_b |
parameter b in the 5-parameter SRI falloff function | |
doublereal | m_c |
parameter c in the 5-parameter SRI falloff function | |
doublereal | m_d |
parameter d in the 5-parameter SRI falloff function | |
doublereal | m_e |
parameter d in the 5-parameter SRI falloff function |
The 5-parameter SRI falloff function.
The falloff function defines the value of in the following rate expression
where
where
s required to greater than or equal to zero. If it is zero, then the corresponding term is set to zero.
m_c is required to greater than or equal to zero. If it is zero, then the corresponding term is set to zero.
m_d is required to be greater than zero.
Definition at line 446 of file FalloffFactory.cpp.
SRI5 | ( | ) | [inline] |
Constructor.
Definition at line 451 of file FalloffFactory.cpp.
virtual ~SRI5 | ( | ) | [inline, virtual] |
Destructor.
Definition at line 454 of file FalloffFactory.cpp.
virtual doublereal F | ( | doublereal | pr, | |
const_workPtr | work | |||
) | const [inline, virtual] |
Function that returns F
pr | Value of the reduced pressure for this reaction | |
work | Pointer to the previously saved work space |
Implements Falloff.
Definition at line 489 of file FalloffFactory.cpp.
References Cantera::fmaxx(), and Cantera::SmallNumber.
virtual void init | ( | const vector_fp & | c | ) | [inline, virtual] |
virtual void updateTemp | ( | doublereal | T, | |
workPtr | work | |||
) | const [inline, virtual] |
Update the temperature parameters in the representation.
The workspace has a length of two
T | Temperature (Kelvin) | |
work | Vector of working space representing the temperature dependent part of the parameterization. |
Reimplemented from Falloff.
Definition at line 478 of file FalloffFactory.cpp.
References SRI5::m_a, SRI5::m_b, SRI5::m_c, SRI5::m_d, and SRI5::m_e.
virtual size_t workSize | ( | ) | [inline, virtual] |
Utility function that returns the size of the workspace.
Implements Falloff.
Definition at line 496 of file FalloffFactory.cpp.
doublereal m_a [protected] |
parameter a in the 5-parameter SRI falloff function
This is unitless
Definition at line 504 of file FalloffFactory.cpp.
Referenced by SRI5::init(), and SRI5::updateTemp().
doublereal m_b [protected] |
parameter b in the 5-parameter SRI falloff function
This has units of Kelvin
Definition at line 510 of file FalloffFactory.cpp.
Referenced by SRI5::init(), and SRI5::updateTemp().
doublereal m_c [protected] |
parameter c in the 5-parameter SRI falloff function
This has units of Kelvin
Definition at line 516 of file FalloffFactory.cpp.
Referenced by SRI5::init(), and SRI5::updateTemp().
doublereal m_d [protected] |
parameter d in the 5-parameter SRI falloff function
This is unitless
Definition at line 522 of file FalloffFactory.cpp.
Referenced by SRI5::init(), and SRI5::updateTemp().
doublereal m_e [protected] |
parameter d in the 5-parameter SRI falloff function
This is unitless
Definition at line 528 of file FalloffFactory.cpp.
Referenced by SRI5::init(), and SRI5::updateTemp().