|
Cantera
2.1.2
|
A falloff manager that implements any set of falloff functions. More...
#include <FalloffMgr.h>
Public Member Functions | |
| FalloffMgr () | |
| Constructor. More... | |
| virtual | ~FalloffMgr () |
| Destructor. Deletes all installed falloff function calculators. More... | |
| void | install (size_t rxn, int falloffType, int reactionType, const vector_fp &c) |
| Install a new falloff function calculator. More... | |
| size_t | workSize () |
| Size of the work array required to store intermediate results. More... | |
| void | updateTemp (doublereal t, doublereal *work) |
| Update the cached temperature-dependent intermediate results for all installed falloff functions. More... | |
| void | pr_to_falloff (doublereal *values, const doublereal *work) |
| Given a vector of reduced pressures for each falloff reaction, replace each entry by the value of the falloff function. More... | |
Protected Attributes | |
| std::vector< size_t > | m_rxn |
| std::vector< Falloff * > | m_falloff |
| FalloffFactory * | m_factory |
| vector_int | m_loc |
|
std::vector < vector_fp::difference_type > | m_offset |
| size_t | m_worksize |
| vector_int | m_reactionType |
| Distinguish between falloff and chemically activated reactions. More... | |
A falloff manager that implements any set of falloff functions.
Definition at line 20 of file FalloffMgr.h.
|
inline |
|
inlinevirtual |
Destructor. Deletes all installed falloff function calculators.
Definition at line 33 of file FalloffMgr.h.
|
inline |
Install a new falloff function calculator.
Definition at line 51 of file FalloffMgr.h.
References FalloffMgr::m_reactionType, FalloffFactory::newFalloff(), and Falloff::workSize().
|
inline |
Size of the work array required to store intermediate results.
Definition at line 62 of file FalloffMgr.h.
Referenced by GasKinetics::finalize().
|
inline |
Update the cached temperature-dependent intermediate results for all installed falloff functions.
| t | Temperature [K]. |
| work | Work array. Must be dimensioned at least workSize(). |
Definition at line 72 of file FalloffMgr.h.
Referenced by GasKinetics::update_rates_T().
|
inline |
Given a vector of reduced pressures for each falloff reaction, replace each entry by the value of the falloff function.
Definition at line 82 of file FalloffMgr.h.
References Cantera::FALLOFF_RXN, and FalloffMgr::m_reactionType.
|
protected |
Distinguish between falloff and chemically activated reactions.
Definition at line 106 of file FalloffMgr.h.
Referenced by FalloffMgr::install(), and FalloffMgr::pr_to_falloff().
1.8.6