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...
 
const speciesTablespecies () const
 Return the table of species. 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...
 
const boolListspeciesActive () const
 Access the specie active flags. More...
 
boolListspeciesActive ()
 Access the specie active flags. 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 multicomponentMixture< ThermoType >::read().

Here is the call graph for this function:

◆ multicomponentMixture() [2/2]

multicomponentMixture ( const multicomponentMixture< ThermoType > &  )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ species()

const speciesTable& species ( ) const
inline

Return the table of species.

Definition at line 97 of file multicomponentMixture.H.

◆ read()

void read ( const dictionary dict)

Read dictionary.

Definition at line 46 of file multicomponentMixture.C.

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

Referenced by multicomponentMixture< ThermoType >::multicomponentMixture().

Here is the call graph for this function:
Here is the caller 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 112 of file multicomponentMixture.H.

◆ specieComposition()

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

Return composition based on index.

Definition at line 90 of file multicomponentMixture.C.

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

Here is the call graph for this function:

◆ speciesActive() [1/2]

const Foam::boolList & speciesActive

Access the specie active flags.

Definition at line 109 of file multicomponentMixture.C.

◆ speciesActive() [2/2]

Foam::boolList & speciesActive

Access the specie active flags.

Definition at line 116 of file multicomponentMixture.C.


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