multicomponentMixture< ThermoType > Class Template Reference

Foam::multicomponentMixture. More...

Inheritance diagram for multicomponentMixture< ThermoType >:

Public Types

typedef ThermoType thermoType
 The type of thermodynamics this mixture is instantiated for. More...
 

Public Member Functions

 multicomponentMixture (const dictionary &)
 Construct from a dictionary. More...
 
 multicomponentMixture (const multicomponentMixture< ThermoType > &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~multicomponentMixture ()
 Destructor. More...
 
wordList specieNames () const
 Return the specie names. More...
 
void read (const dictionary &)
 Read dictionary. More...
 
const PtrList< ThermoType > & specieThermos () const
 Return the raw specie thermodynamic data. More...
 
const ThermoType & specieThermo (const label speciei) const
 Return thermo based on index. More...
 
const List< specieElement > & specieComposition (const label speciei) const
 Return composition based on index. More...
 

Detailed Description

template<class ThermoType>
class Foam::multicomponentMixture< ThermoType >

Foam::multicomponentMixture.

Source files

Definition at line 50 of file multicomponentMixture.H.

Member Typedef Documentation

◆ thermoType

typedef ThermoType thermoType

The type of thermodynamics this mixture is instantiated for.

Definition at line 57 of file multicomponentMixture.H.

Constructor & Destructor Documentation

◆ multicomponentMixture() [1/2]

multicomponentMixture ( const dictionary dict)

Construct from a dictionary.

Definition at line 32 of file multicomponentMixture.C.

References dict, and Foam::blockMeshTools::read().

Here is the call graph for this function:

◆ multicomponentMixture() [2/2]

multicomponentMixture ( const multicomponentMixture< ThermoType > &  )
delete

Disallow default bitwise copy construction.

◆ ~multicomponentMixture()

virtual ~multicomponentMixture ( )
inlinevirtual

Destructor.

Definition at line 89 of file multicomponentMixture.H.

Member Function Documentation

◆ specieNames()

Foam::wordList specieNames

Return the specie names.

Definition at line 44 of file multicomponentMixture.C.

References forAll.

◆ read()

void read ( const dictionary dict)

Read dictionary.

Definition at line 58 of file multicomponentMixture.C.

References dict, forAll, dictionary::isDict(), dictionary::lookupOrDefault(), List< T >::size(), dictionary::subDict(), and dictionary::toc().

Here is the call graph for this function:

◆ specieThermos()

const PtrList<ThermoType>& specieThermos ( ) const
inline

◆ specieThermo()

const ThermoType& specieThermo ( const label  speciei) const
inline

Return thermo based on index.

Definition at line 108 of file multicomponentMixture.H.

◆ specieComposition()

const Foam::List< Foam::specieElement > & specieComposition ( const label  speciei) const

Return composition based on index.

Definition at line 103 of file multicomponentMixture.C.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.

Here is the call graph for this function:

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