thirdBodyEfficiencies Class Reference

Third body efficiencies. More...

Inheritance diagram for thirdBodyEfficiencies:
Collaboration diagram for thirdBodyEfficiencies:

Public Member Functions

 thirdBodyEfficiencies (const speciesTable &species, const scalarList &efficiencies)
 Construct from components. More...
 
 thirdBodyEfficiencies (const speciesTable &species, Istream &is)
 Construct from Istream. More...
 
 thirdBodyEfficiencies (const speciesTable &species, const dictionary &dict)
 Construct from dictionary. More...
 
scalar M (const scalarList &c) const
 Calculate and return M, the concentration of the third-bodies. More...
 
void write (Ostream &os) const
 Write to stream. More...
 

Friends

Ostreamoperator<< (Ostream &, const thirdBodyEfficiencies &)
 

Detailed Description

Third body efficiencies.

Source files

Definition at line 56 of file thirdBodyEfficiencies.H.

Constructor & Destructor Documentation

thirdBodyEfficiencies ( const speciesTable species,
const scalarList efficiencies 
)
inline

Construct from components.

Definition at line 31 of file thirdBodyEfficienciesI.H.

References Foam::exit(), and FatalErrorIn.

Here is the call graph for this function:

thirdBodyEfficiencies ( const speciesTable species,
Istream is 
)
inline

Construct from Istream.

Definition at line 53 of file thirdBodyEfficienciesI.H.

References Foam::exit(), FatalIOErrorIn, token::info(), token::isPunctuation(), token::isWord(), token::pToken(), Istream::readBeginList(), readScalar, and token::wordToken().

Here is the call graph for this function:

thirdBodyEfficiencies ( const speciesTable species,
const dictionary dict 
)
inline

Construct from dictionary.

Definition at line 115 of file thirdBodyEfficienciesI.H.

References Foam::exit(), FatalErrorIn, forAll, dictionary::found(), dictionary::lookup(), and readScalar.

Here is the call graph for this function:

Member Function Documentation

Foam::scalar M ( const scalarList c) const
inline

Calculate and return M, the concentration of the third-bodies.

Definition at line 152 of file thirdBodyEfficienciesI.H.

References forAll.

void write ( Ostream os) const
inline

Write to stream.

Definition at line 164 of file thirdBodyEfficienciesI.H.

References token::END_STATEMENT, forAll, Foam::nl, and Ostream::writeKeyword().

Referenced by thirdBodyArrheniusReactionRate::write().

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

Ostream& operator<< ( Ostream ,
const thirdBodyEfficiencies  
)
friend

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