Cantera  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
C1 Class Reference

Handles one species in a reaction. More...

#include <StoichManager.h>

Public Member Functions

 C1 (size_t rxn=0, size_t ic0=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 number. More...
 
size_t m_ic0
 Species number. More...
 

Detailed Description

Handles one species in a reaction.

See Stoichiometry

Definition at line 150 of file StoichManager.h.

Member Function Documentation

void writeMultiply ( const std::string &  r,
std::map< size_t, std::string > &  out 
)
inline
Deprecated:
To be removed after Cantera 2.2

Definition at line 195 of file StoichManager.h.

References Cantera::fmt(), C1::m_ic0, and C1::m_rxn.

void writeIncrementReaction ( const std::string &  r,
std::map< size_t, std::string > &  out 
)
inline
Deprecated:
To be removed after Cantera 2.2

Definition at line 200 of file StoichManager.h.

References Cantera::fmt(), C1::m_ic0, and C1::m_rxn.

void writeDecrementReaction ( const std::string &  r,
std::map< size_t, std::string > &  out 
)
inline
Deprecated:
To be removed after Cantera 2.2

Definition at line 205 of file StoichManager.h.

References Cantera::fmt(), C1::m_ic0, and C1::m_rxn.

void writeIncrementSpecies ( const std::string &  r,
std::map< size_t, std::string > &  out 
)
inline
Deprecated:
To be removed after Cantera 2.2

Definition at line 210 of file StoichManager.h.

References Cantera::fmt(), C1::m_ic0, and C1::m_rxn.

void writeDecrementSpecies ( const std::string &  r,
std::map< size_t, std::string > &  out 
)
inline
Deprecated:
To be removed after Cantera 2.2

Definition at line 215 of file StoichManager.h.

References Cantera::fmt(), C1::m_ic0, and C1::m_rxn.

Member Data Documentation

size_t m_rxn
private
size_t m_ic0
private

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