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 53 of file phasePropertiesList.H.

Constructor & Destructor Documentation

◆ phasePropertiesList() [1/2]

Construct null.

Definition at line 32 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 40 of file phasePropertiesList.C.

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

Here is the call graph for this function:

◆ ~phasePropertiesList()

Destructor.

Definition at line 69 of file phasePropertiesList.C.

Member Function Documentation

◆ props()

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

Return the list of phase properties.

Definition at line 76 of file phasePropertiesList.C.

◆ phaseTypes()

const Foam::wordList & phaseTypes ( ) const

Return the list of word representation of phase types.

Definition at line 82 of file phasePropertiesList.C.

◆ stateLabels()

const Foam::wordList & stateLabels ( ) const

Return the list of state labels.

Definition at line 88 of file phasePropertiesList.C.

◆ size()

Foam::label size ( ) const

Return the size (number of phases)

Definition at line 94 of file phasePropertiesList.C.

◆ operator[]()

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

Definition at line 101 of file phasePropertiesList.C.


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