Loading...
Searching...
No Matches
Reaction< ReactionThermo >::specieCoeffs Struct Reference

Hold specie index and its coefficients in the reaction rate expression. More...

#include <Reaction.H>

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]

template<class ReactionThermo>
specieCoeffs ( )
inline

Definition at line 92 of file Reaction.H.

References exponent, index, and stoichCoeff.

Referenced by operator!=(), operator<<, and operator==().

Here is the caller graph for this function:

◆ specieCoeffs() [2/2]

template<class ReactionThermo>
specieCoeffs ( const speciesTable & species,
Istream & is,
bool failUnknownSpecie = true )

Definition at line 187 of file Reaction.C.

References Reaction< ReactionThermo >::species().

Here is the call graph for this function:

Member Function Documentation

◆ operator==()

template<class ReactionThermo>
bool operator== ( const specieCoeffs & sc) const
inlinenoexcept

Definition at line 106 of file Reaction.H.

References index, and specieCoeffs().

Here is the call graph for this function:

◆ operator!=()

template<class ReactionThermo>
bool operator!= ( const specieCoeffs & sc) const
inlinenoexcept

Definition at line 111 of file Reaction.H.

References index, and specieCoeffs().

Here is the call graph for this function:

◆ operator<<

template<class ReactionThermo>
Ostream & operator<< ( Ostream & os,
const specieCoeffs & sc )
friend

Definition at line 116 of file Reaction.H.

References exponent, index, os(), token::SPACE, specieCoeffs(), and stoichCoeff.

Member Data Documentation

◆ index

template<class ReactionThermo>
label index

◆ stoichCoeff

template<class ReactionThermo>
scalar stoichCoeff

Definition at line 89 of file Reaction.H.

Referenced by operator<<, Reaction< ReactionThermo >::reactionStr(), and specieCoeffs().

◆ exponent

template<class ReactionThermo>
scalar exponent

Definition at line 90 of file Reaction.H.

Referenced by operator<<, Reaction< ReactionThermo >::reactionStr(), and specieCoeffs().


The documentation for this struct was generated from the following files:
  • src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.H
  • src/thermophysicalModels/specie/reaction/Reactions/Reaction/Reaction.C