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

Calculate and apply third-body effects on reaction rates, including non- unity third-body efficiencies. More...

#include <ThirdBodyCalc.h>

Public Member Functions

void install (size_t rxnNumber, const std::map< size_t, double > &enhanced, double dflt=1.0)
 
void update (const vector_fp &conc, double ctot, double *work)
 
void multiply (double *output, const double *work)
 
size_t workSize ()
 

Protected Attributes

std::vector< size_t > m_reaction_index
 Indices of third-body reactions within the full reaction array. More...
 
std::vector< std::vector
< size_t > > 
m_species
 m_species[i][j] is the index of the j-th species in reaction i. More...
 
std::vector< vector_fpm_eff
 m_eff[i][j] is the efficiency of the j-th species in reaction i. More...
 
vector_fp m_default
 The default efficiency for each reaction. More...
 

Detailed Description

Calculate and apply third-body effects on reaction rates, including non- unity third-body efficiencies.

Definition at line 16 of file ThirdBodyCalc.h.

Member Data Documentation

std::vector<size_t> m_reaction_index
protected

Indices of third-body reactions within the full reaction array.

Definition at line 57 of file ThirdBodyCalc.h.

std::vector<std::vector<size_t> > m_species
protected

m_species[i][j] is the index of the j-th species in reaction i.

Definition at line 60 of file ThirdBodyCalc.h.

std::vector<vector_fp> m_eff
protected

m_eff[i][j] is the efficiency of the j-th species in reaction i.

Definition at line 63 of file ThirdBodyCalc.h.

vector_fp m_default
protected

The default efficiency for each reaction.

Definition at line 66 of file ThirdBodyCalc.h.


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