Cantera
2.0
|
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) | |
C2 & | operator= (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 (std::string r, std::map< size_t, std::string > &out) |
void | writeIncrementReaction (std::string r, std::map< size_t, std::string > &out) |
void | writeDecrementReaction (std::string r, std::map< size_t, std::string > &out) |
void | writeIncrementSpecies (std::string r, std::map< size_t, std::string > &out) |
void | writeDecrementSpecies (std::string r, std::map< size_t, std::string > &out) |
Private Attributes | |
size_t | m_rxn |
Reaction index -> index into the ROP vector. | |
size_t | m_ic0 |
Species index -> index into the species vector for the two species. | |
size_t | m_ic1 |
Handles two species in a single reaction.
Definition at line 254 of file StoichManager.h.
|
private |
Reaction index -> index into the ROP vector.
Definition at line 340 of file StoichManager.h.
|
private |
Species index -> index into the species vector for the two species.
Definition at line 346 of file StoichManager.h.