Cantera  2.0
Public Member Functions | Public Attributes | List of all members
rxninfo Class Reference

these are all used to check for duplicate reactions More...

Public Member Functions

bool installReaction (int i, const XML_Node &r, Kinetics &kin, std::string default_phase, ReactionRules &rule, bool validate_rxn)
 Install an individual reaction into a kinetics manager.
 

Public Attributes

std::vector< std::map< int,
doublereal > > 
m_rdata
 Net stoichiometric coefficients for each reaction.
 
std::vector< std::string > m_eqn
 string name (i.e. the reaction equation)
 
std::vector< int > m_dup
 Indicates whether each reaction is marked "duplicate".
 
std::vector< size_t > m_nr
 Number of reactants in each reaction.
 
std::vector< int > m_typ
 Indicates "type" of each reaction (see reaction_defs.h)
 
std::vector< bool > m_rev
 Indicates whether each reaction is reversible.
 
std::map< std::vector< char >
, std::vector< size_t > > 
m_participants
 Map of (vector indicating participating species) to reaction numbers Used to speed up duplicate reaction checks.
 

Detailed Description

these are all used to check for duplicate reactions

Definition at line 51 of file importKinetics.cpp.

Member Data Documentation

std::vector< std::map<int, doublereal> > m_rdata

Net stoichiometric coefficients for each reaction.

Definition at line 55 of file importKinetics.cpp.

Referenced by rxninfo::installReaction().

std::vector<std::string> m_eqn

string name (i.e. the reaction equation)

Definition at line 58 of file importKinetics.cpp.

Referenced by rxninfo::installReaction().

std::vector<int> m_dup

Indicates whether each reaction is marked "duplicate".

Definition at line 61 of file importKinetics.cpp.

Referenced by rxninfo::installReaction().

std::vector<size_t> m_nr

Number of reactants in each reaction.

Definition at line 64 of file importKinetics.cpp.

Referenced by rxninfo::installReaction().

std::vector<int> m_typ

Indicates "type" of each reaction (see reaction_defs.h)

Definition at line 67 of file importKinetics.cpp.

Referenced by rxninfo::installReaction().

std::vector<bool> m_rev

Indicates whether each reaction is reversible.

Definition at line 70 of file importKinetics.cpp.

Referenced by rxninfo::installReaction().

std::map<std::vector<char>, std::vector<size_t> > m_participants

Map of (vector indicating participating species) to reaction numbers Used to speed up duplicate reaction checks.

Definition at line 74 of file importKinetics.cpp.

Referenced by rxninfo::installReaction().


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