Reaction< ReactionThermo >::specieCoeffs Struct Reference

Public Member Functions

 specieCoeffs ()
 
 specieCoeffs (const speciesTable &species, Istream &is)
 
bool operator== (const specieCoeffs &sc) const
 
bool operator!= (const specieCoeffs &sc) const
 

Public Attributes

label index
 
scalar stoichCoeff
 
scalar exponent
 

Friends

Ostreamoperator<< (Ostream &os, const specieCoeffs &sc)
 

Detailed Description

template<class ReactionThermo>
struct Foam::Reaction< ReactionThermo >::specieCoeffs

Hold specie index and its coefficients in the reaction rate expression

Definition at line 86 of file Reaction.H.

Constructor & Destructor Documentation

◆ specieCoeffs() [1/2]

specieCoeffs ( )
inline

Definition at line 92 of file Reaction.H.

◆ specieCoeffs() [2/2]

specieCoeffs ( const speciesTable species,
Istream is 
)

Definition at line 196 of file Reaction.C.

References Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, token::info(), token::isNumber(), token::isWord(), token::number(), and token::wordToken().

Here is the call graph for this function:

Member Function Documentation

◆ operator==()

bool operator== ( const specieCoeffs sc) const
inline

Definition at line 101 of file Reaction.H.

References Reaction< ReactionThermo >::specieCoeffs::index.

◆ operator!=()

bool operator!= ( const specieCoeffs sc) const
inline

Definition at line 106 of file Reaction.H.

References Reaction< ReactionThermo >::specieCoeffs::index.

Friends And Related Function Documentation

◆ operator<<

Ostream& operator<< ( Ostream os,
const specieCoeffs sc 
)
friend

Definition at line 111 of file Reaction.H.

Member Data Documentation

◆ index

◆ stoichCoeff

scalar stoichCoeff

Definition at line 89 of file Reaction.H.

◆ exponent

scalar exponent

Definition at line 90 of file Reaction.H.


The documentation for this struct was generated from the following files: