phasePropertiesList Class Reference

Simple container for a list of phase properties. More...

Public Member Functions

 phasePropertiesList ()
 Construct null. More...
 
 phasePropertiesList (Istream &is, const wordList &gasNames, const wordList &liquidNames, const wordList &solidNames)
 Construct from components. More...
 
 ~phasePropertiesList ()
 Destructor. More...
 
const List< phaseProperties > & props () const
 Return the list of phase properties. More...
 
const wordListphaseTypes () const
 Return the list of word representation of phase types. More...
 
const wordListstateLabels () const
 Return the list of state labels. More...
 
label size () const
 Return the size (number of phases) More...
 
const phasePropertiesoperator[] (const label) const
 

Detailed Description

Simple container for a list of phase properties.

Source files

Definition at line 51 of file phasePropertiesList.H.

Constructor & Destructor Documentation

◆ phasePropertiesList() [1/2]

Construct null.

Definition at line 30 of file phasePropertiesList.C.

◆ phasePropertiesList() [2/2]

phasePropertiesList ( Istream is,
const wordList gasNames,
const wordList liquidNames,
const wordList solidNames 
)

Construct from components.

Definition at line 39 of file phasePropertiesList.C.

References forAll, and List< T >::setSize().

Here is the call graph for this function:

◆ ~phasePropertiesList()

Destructor.

Definition at line 67 of file phasePropertiesList.C.

Member Function Documentation

◆ props()

const Foam::List< Foam::phaseProperties > & props ( ) const

Return the list of phase properties.

Definition at line 74 of file phasePropertiesList.C.

◆ phaseTypes()

const Foam::wordList & phaseTypes ( ) const

Return the list of word representation of phase types.

Definition at line 80 of file phasePropertiesList.C.

◆ stateLabels()

const Foam::wordList & stateLabels ( ) const

Return the list of state labels.

Definition at line 86 of file phasePropertiesList.C.

◆ size()

Foam::label size ( ) const

Return the size (number of phases)

Definition at line 92 of file phasePropertiesList.C.

◆ operator[]()

const Foam::phaseProperties & operator[] ( const label  phaseI) const

Definition at line 99 of file phasePropertiesList.C.


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