Cantera
2.2.1
|
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 () |
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 |
Handles two species in a single reaction.
See Stoichiometry
Definition at line 231 of file StoichManager.h.
|
inline |
Definition at line 277 of file StoichManager.h.
References Cantera::fmt(), C2::m_ic0, and C2::m_rxn.
|
inline |
Definition at line 282 of file StoichManager.h.
References Cantera::fmt(), C2::m_ic0, and C2::m_rxn.
|
inline |
Definition at line 287 of file StoichManager.h.
References Cantera::fmt(), C2::m_ic0, and C2::m_rxn.
|
inline |
Definition at line 292 of file StoichManager.h.
References Cantera::fmt(), C2::m_ic0, and C2::m_rxn.
|
inline |
Definition at line 299 of file StoichManager.h.
References Cantera::fmt(), C2::m_ic0, and C2::m_rxn.
|
private |
Reaction index -> index into the ROP vector.
Definition at line 307 of file StoichManager.h.
Referenced by C2::writeDecrementReaction(), C2::writeDecrementSpecies(), C2::writeIncrementReaction(), C2::writeIncrementSpecies(), and C2::writeMultiply().
|
private |
Species index -> index into the species vector for the two species.
Definition at line 310 of file StoichManager.h.
Referenced by C2::writeDecrementReaction(), C2::writeDecrementSpecies(), C2::writeIncrementReaction(), C2::writeIncrementSpecies(), and C2::writeMultiply().