Simple container for a list of phase properties. More...
#include <phasePropertiesList.H>
Public Member Functions | |
| phasePropertiesList () | |
| Construct null. | |
| phasePropertiesList (Istream &is, const wordList &gasNames, const wordList &liquidNames, const wordList &solidNames) | |
| Construct from components. | |
| ~phasePropertiesList () | |
| Destructor. | |
| const List< phaseProperties > & | props () const |
| Return the list of phase properties. | |
| const wordList & | phaseTypes () const |
| Return the list of word representation of phase types. | |
| const wordList & | stateLabels () const |
| Return the list of state labels. | |
| label | size () const |
| Return the size (number of phases). | |
| const phaseProperties & | operator[] (const label) const |
Simple container for a list of phase properties.
Definition at line 49 of file phasePropertiesList.H.
| phasePropertiesList | ( | ) |
Construct null.
Definition at line 25 of file phasePropertiesList.C.
| phasePropertiesList | ( | Istream & | is, |
| const wordList & | gasNames, | ||
| const wordList & | liquidNames, | ||
| const wordList & | solidNames ) |
Construct from components.
Definition at line 33 of file phasePropertiesList.C.
References forAll, and solidNames().

| ~phasePropertiesList | ( | ) |
Destructor.
Definition at line 62 of file phasePropertiesList.C.
| const Foam::List< Foam::phaseProperties > & props | ( | ) | const |
Return the list of phase properties.
Definition at line 69 of file phasePropertiesList.C.
| const Foam::wordList & phaseTypes | ( | ) | const |
Return the list of word representation of phase types.
Definition at line 75 of file phasePropertiesList.C.
| const Foam::wordList & stateLabels | ( | ) | const |
Return the list of state labels.
Definition at line 81 of file phasePropertiesList.C.
| Foam::label size | ( | ) | const |
Return the size (number of phases).
Definition at line 87 of file phasePropertiesList.C.
References UList< T >::size().
Referenced by CompositionModel< CloudType >::nPhase().


| const Foam::phaseProperties & operator[] | ( | const label | phaseI | ) | const |
Definition at line 94 of file phasePropertiesList.C.