Reaction base-class holding the specie names and coefficients. More...
Public Member Functions | |
reaction (const speciesTable &species, const List< specieCoeffs > &lhs, const List< specieCoeffs > &rhs) | |
Construct from components. More... | |
reaction (const reaction &, const speciesTable &species) | |
Construct as copy given new speciesTable. More... | |
reaction (const speciesTable &species, const dictionary &dict) | |
Construct from dictionary. More... | |
~reaction () | |
Destructor. More... | |
const word & | name () const |
Return the name of the reaction. More... | |
const List< specieCoeffs > & | lhs () const |
Return the components of the left hand side. More... | |
const List< specieCoeffs > & | rhs () const |
Return the components of the right hand side. More... | |
const speciesTable & | species () const |
Return the specie list. More... | |
void | write (Ostream &) const |
Write. More... | |
void | operator= (const reaction &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Attributes | |
static label | nUnNamedReactions |
Number of un-named reactions. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const reaction &) |
Reaction base-class holding the specie names and coefficients.
Definition at line 56 of file reaction.H.
reaction | ( | const speciesTable & | species, |
const List< specieCoeffs > & | lhs, | ||
const List< specieCoeffs > & | rhs | ||
) |
Construct from components.
Definition at line 46 of file reaction.C.
Referenced by reaction::reaction(), and reaction::write().
reaction | ( | const reaction & | r, |
const speciesTable & | species | ||
) |
Construct as copy given new speciesTable.
Definition at line 60 of file reaction.C.
References reaction::reaction().
reaction | ( | const speciesTable & | species, |
const dictionary & | dict | ||
) |
Construct from dictionary.
Definition at line 73 of file reaction.C.
References dictionary::lookup(), and specieCoeffs::setLRhs().
|
inline |
Destructor.
Definition at line 114 of file reaction.H.
References reaction::lhs(), reaction::name(), reaction::operator<<, reaction::operator=(), reaction::rhs(), reaction::species(), and reaction::write().
|
inline |
Return the name of the reaction.
Definition at line 30 of file reactionI.H.
Referenced by ReactionList< Foam::sutherlandTransport >::write(), reaction::~reaction(), and Reaction< ReactionThermo >::~Reaction().
|
inline |
Return the components of the left hand side.
Definition at line 36 of file reactionI.H.
Referenced by singleStepCombustion::calculateqFuel(), chemistryModel< ThermoType >::calculateRR(), chemistryReductionMethod< ThermoType >::endReduceMechanism(), singleStepCombustion::fresCorrect(), EFA< ThermoType >::reduceMechanism(), DRG< ThermoType >::reduceMechanism(), PFA< ThermoType >::reduceMechanism(), DAC< ThermoType >::reduceMechanism(), DRGEP< ThermoType >::reduceMechanism(), chemistryModel< ThermoType >::tc(), and reaction::~reaction().
|
inline |
Return the components of the right hand side.
Definition at line 42 of file reactionI.H.
Referenced by singleStepCombustion::calculateMaxProducts(), singleStepCombustion::calculateqFuel(), chemistryModel< ThermoType >::calculateRR(), chemistryReductionMethod< ThermoType >::endReduceMechanism(), singleStepCombustion::fresCorrect(), mixtureFraction::mixtureFraction(), EFA< ThermoType >::reduceMechanism(), DRG< ThermoType >::reduceMechanism(), PFA< ThermoType >::reduceMechanism(), DAC< ThermoType >::reduceMechanism(), DRGEP< ThermoType >::reduceMechanism(), chemistryModel< ThermoType >::tc(), and reaction::~reaction().
|
inline |
Return the specie list.
Definition at line 48 of file reactionI.H.
Referenced by IrreversibleReaction< ReactionThermo, ReactionRate >::clone(), ReversibleReaction< ReactionThermo, ReactionRate >::clone(), NonEquilibriumReversibleReaction< ReactionThermo, ReactionRate >::clone(), and reaction::~reaction().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 93 of file reaction.C.
References reaction::reaction(), specieCoeffs::reactionStr(), and Foam::writeEntry().
Referenced by Foam::operator<<(), and reaction::~reaction().
|
delete |
Disallow default bitwise assignment.
Referenced by reaction::~reaction().
Referenced by reaction::~reaction().
|
static |
Number of un-named reactions.
Definition at line 64 of file reaction.H.