Cantera
2.5.1
|
This rate coefficient manager supports one parameterization of the rate constant of any type. More...
#include <RateCoeffMgr.h>
Public Member Functions | |
void | install (size_t rxnNumber, const R &rate) |
Install a rate coefficient calculator. More... | |
void | replace (size_t rxnNumber, const R &rate) |
Replace an existing rate coefficient calculator. More... | |
void | update_C (const doublereal *c) |
Update the concentration-dependent parts of the rate coefficient, if any. More... | |
void | update (doublereal T, doublereal logT, doublereal *values) |
Write the rate coefficients into array values. More... | |
size_t | nReactions () const |
double | effectivePreExponentialFactor (size_t irxn) |
Return effective preexponent for the specified reaction. More... | |
double | effectiveActivationEnergy_R (size_t irxn) |
Return effective activation energy for the specified reaction. More... | |
double | effectiveTemperatureExponent (size_t irxn) |
Return effective temperature exponent for the specified reaction. More... | |
Protected Attributes | |
std::vector< R > | m_rates |
std::vector< size_t > | m_rxn |
std::map< size_t, size_t > | m_indices |
map reaction number to index in m_rxn / m_rates More... | |
This rate coefficient manager supports one parameterization of the rate constant of any type.
Definition at line 21 of file RateCoeffMgr.h.
|
inline |
Install a rate coefficient calculator.
rxnNumber | the reaction number |
rate | rate coefficient specification for the reaction |
Definition at line 32 of file RateCoeffMgr.h.
|
inline |
Replace an existing rate coefficient calculator.
Definition at line 39 of file RateCoeffMgr.h.
|
inline |
Update the concentration-dependent parts of the rate coefficient, if any.
Used by class SurfaceArrhenius to compute coverage-dependent modifications to the Arrhenius parameters. The array c should contain whatever data the particular rate coefficient class needs to update its rates. Note that this method does not return anything. To get the updated rates, method update must be called after the call to update_C.
Definition at line 52 of file RateCoeffMgr.h.
|
inline |
Write the rate coefficients into array values.
Each calculator writes one entry in values, at the location specified by the reaction number when it was installed. Note that nothing will be done for reactions that have constant rates. The array values should be preloaded with the constant rate coefficients.
Definition at line 65 of file RateCoeffMgr.h.
|
inline |
Return effective preexponent for the specified reaction.
Returns effective preexponent, accounting for surface coverage dependencies. Used in InterfaceKinetics.
irxn | Reaction number in the kinetics mechanism |
Definition at line 84 of file RateCoeffMgr.h.
|
inline |
Return effective activation energy for the specified reaction.
Returns effective activation energy, accounting for surface coverage dependencies. Used in InterfaceKinetics.
irxn | Reaction number in the kinetics mechanism |
Definition at line 96 of file RateCoeffMgr.h.
|
inline |
Return effective temperature exponent for the specified reaction.
Returns effective temperature exponent, accounting for surface coverage dependencies. Used in InterfaceKinetics. Current parameterization in SurfaceArrhenius does not change this parameter with the change in surface coverages.
irxn | Reaction number in the kinetics mechanism |
Definition at line 110 of file RateCoeffMgr.h.
|
protected |
map reaction number to index in m_rxn / m_rates
Definition at line 119 of file RateCoeffMgr.h.