Cantera  2.5.1
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 19 of file ThirdBodyCalc.h.

Member Data Documentation

◆ m_reaction_index

std::vector<size_t> m_reaction_index
protected

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

Definition at line 58 of file ThirdBodyCalc.h.

◆ m_species

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 61 of file ThirdBodyCalc.h.

◆ m_eff

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 64 of file ThirdBodyCalc.h.

◆ m_default

vector_fp m_default
protected

The default efficiency for each reaction.

Definition at line 67 of file ThirdBodyCalc.h.


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