Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
ExchangeCurrent Class Reference

Arrhenius reaction rate type depends only on temperature. More...

#include <RxnRates.h>

Public Member Functions

 ExchangeCurrent ()
 Default constructor. More...
 
 ExchangeCurrent (const ReactionData &rdata)
 Constructor with Arrhenius parameters from a ReactionData struct. More...
 
 ExchangeCurrent (doublereal A, doublereal b, doublereal E)
 Constructor. More...
 
void update_C (const doublereal *c)
 Update concentration-dependent parts of the rate coefficient. More...
 
doublereal update (doublereal logT, doublereal recipT) const
 Update the value of the logarithm of the rate constant. More...
 
doublereal updateRC (doublereal logT, doublereal recipT) const
 Update the value the rate constant. More...
 
void writeUpdateRHS (std::ostream &s) const
 
doublereal activationEnergy_R () const
 

Static Public Member Functions

static int type ()
 return the rate coefficient type. More...
 
static bool alwaysComputeRate ()
 

Protected Attributes

doublereal m_logA
 
doublereal m_b
 
doublereal m_E
 
doublereal m_A
 

Detailed Description

Arrhenius reaction rate type depends only on temperature.

A reaction rate coefficient of the following form.

\[ k_f = A T^b \exp (-E/RT) \]

Deprecated:
Duplicate of class Arrhenius. To be removed after Cantera 2.2.

Definition at line 236 of file RxnRates.h.

Constructor & Destructor Documentation

Default constructor.

Definition at line 104 of file RxnRates.cpp.

References Cantera::warn_deprecated().

ExchangeCurrent ( const ReactionData rdata)
explicit

Constructor with Arrhenius parameters from a ReactionData struct.

Definition at line 114 of file RxnRates.cpp.

References Cantera::warn_deprecated().

ExchangeCurrent ( doublereal  A,
doublereal  b,
doublereal  E 
)

Constructor.

Parameters
Apre-exponential. The unit system is (kmol, m, s). The actual units depend on the reaction order and the dimensionality (surface or bulk).
bTemperature exponent. Non-dimensional.
EActivation energy in temperature units. Kelvin.

Definition at line 128 of file RxnRates.cpp.

References Cantera::warn_deprecated().

Member Function Documentation

static int type ( )
inlinestatic

return the rate coefficient type.

Definition at line 241 of file RxnRates.h.

void update_C ( const doublereal *  c)
inline

Update concentration-dependent parts of the rate coefficient.

For this class, there are no concentration-dependent parts, so this method does nothing.

Definition at line 264 of file RxnRates.h.

doublereal update ( doublereal  logT,
doublereal  recipT 
) const
inline

Update the value of the logarithm of the rate constant.

Note, this function should never be called for negative A values. If it does then it will produce a negative overflow result, and a zero net forwards reaction rate, instead of a negative reaction rate constant that is the expected result.

Deprecated:
. To be removed after Cantera 2.2

Definition at line 276 of file RxnRates.h.

doublereal updateRC ( doublereal  logT,
doublereal  recipT 
) const
inline

Update the value the rate constant.

This function returns the actual value of the rate constant. It can be safely called for negative values of the pre-exponential factor.

Definition at line 287 of file RxnRates.h.

void writeUpdateRHS ( std::ostream &  s) const
inline
Deprecated:
. To be removed after Cantera 2.2

Definition at line 292 of file RxnRates.h.

doublereal activationEnergy_R ( ) const
inline
Deprecated:
. To be removed after Cantera 2.2

Definition at line 304 of file RxnRates.h.

static bool alwaysComputeRate ( )
inlinestatic
Deprecated:
. To be removed after Cantera 2.2

Definition at line 309 of file RxnRates.h.


The documentation for this class was generated from the following files: