Reaction< ReactionThermo >::specieCoeffs Struct Reference

Public Member Functions

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

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,
bool  failUnknownSpecie = true 
)

Definition at line 194 of file Reaction.C.

Member Function Documentation

◆ operator==()

bool operator== ( const specieCoeffs sc) const
inlinenoexcept

Definition at line 106 of file Reaction.H.

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

◆ operator!=()

bool operator!= ( const specieCoeffs sc) const
inlinenoexcept

Definition at line 111 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 116 of file Reaction.H.

Member Data Documentation

◆ index

◆ stoichCoeff

scalar stoichCoeff

Definition at line 89 of file Reaction.H.

Referenced by Reaction< ReactionThermo >::reactionStr().

◆ exponent

scalar exponent

Definition at line 90 of file Reaction.H.

Referenced by Reaction< ReactionThermo >::reactionStr().


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