Cantera  2.1.2
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)
 
 C2 (const C2 &right)
 
C2operator= (const C2 &right)
 
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 ()
 
void writeMultiply (const std::string &r, std::map< size_t, std::string > &out)
 
void writeIncrementReaction (const std::string &r, std::map< size_t, std::string > &out)
 
void writeDecrementReaction (const std::string &r, std::map< size_t, std::string > &out)
 
void writeIncrementSpecies (const std::string &r, std::map< size_t, std::string > &out)
 
void writeDecrementSpecies (const std::string &r, std::map< size_t, std::string > &out)
 

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 235 of file StoichManager.h.

Member Data Documentation

size_t m_rxn
private

Reaction index -> index into the ROP vector.

Definition at line 318 of file StoichManager.h.

size_t m_ic0
private

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

Definition at line 321 of file StoichManager.h.


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