Cantera  3.1.0a1

Handles two species in a single reaction. More...

#include <StoichManager.h>

Detailed Description

Handles two species in a single reaction.

See Stoichiometry

Definition at line 189 of file StoichManager.h.

Public Member Functions

 C2 (size_t rxn=0, size_t ic0=0, size_t ic1=0)
 
void incrementSpecies (const double *R, double *S) const
 
void decrementSpecies (const double *R, double *S) const
 
void multiply (const double *S, double *R) const
 
void incrementReaction (const double *S, double *R) const
 
void decrementReaction (const double *S, double *R) const
 
void resizeCoeffs (const map< pair< size_t, size_t >, size_t > &indices)
 
void derivatives (const double *S, const double *R, vector< double > &jac) const
 
void scale (const double *R, double *out, double factor) const
 

Private Attributes

size_t m_rxn
 Reaction index -> index into the ROP vector. More...
 
size_t m_ic0
 Species index -> index into the species vector for the two species. More...
 
size_t m_ic1
 
size_t m_jc0
 
size_t m_jc1
 Indices in derivative triplet vector. More...
 

Member Data Documentation

◆ m_rxn

size_t m_rxn
private

Reaction index -> index into the ROP vector.

Definition at line 244 of file StoichManager.h.

◆ m_ic0

size_t m_ic0
private

Species index -> index into the species vector for the two species.

Definition at line 247 of file StoichManager.h.

◆ m_jc1

size_t m_jc1
private

Indices in derivative triplet vector.

Definition at line 249 of file StoichManager.h.


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