Cantera  2.5.1
Public Member Functions | Private Attributes | List of all members
C2 Class Reference

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

#include <StoichManager.h>

Public Member Functions

 C2 (size_t rxn=0, size_t ic0=0, size_t ic1=0)
 
size_t data (std::vector< size_t > &ic)
 
void incrementSpecies (const doublereal *R, doublereal *S) const
 
void decrementSpecies (const doublereal *R, doublereal *S) const
 
void multiply (const doublereal *S, doublereal *R) const
 
void incrementReaction (const doublereal *S, doublereal *R) const
 
void decrementReaction (const doublereal *S, doublereal *R) const
 
size_t rxnNumber () const
 
size_t speciesIndex (size_t n) const
 
size_t nSpecies ()
 

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
 

Detailed Description

Handles two species in a single reaction.

See Stoichiometry

Definition at line 185 of file StoichManager.h.

Member Data Documentation

◆ m_rxn

size_t m_rxn
private

Reaction index -> index into the ROP vector.

Definition at line 236 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 239 of file StoichManager.h.


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