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 wordList & | phaseTypes () const |
| Return the list of word representation of phase types. More... | |
| const wordList & | stateLabels () const |
| Return the list of state labels. More... | |
| label | size () const |
| Return the size (number of phases) More... | |
| const phaseProperties & | operator[] (const label) const |
Simple container for a list of phase properties.
Definition at line 51 of file phasePropertiesList.H.
Construct null.
Definition at line 30 of file phasePropertiesList.C.
| 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().

| ~phasePropertiesList | ( | ) |
Destructor.
Definition at line 67 of file phasePropertiesList.C.
| const Foam::List< Foam::phaseProperties > & props | ( | ) | const |
Return the list of phase properties.
Definition at line 74 of file phasePropertiesList.C.
| const Foam::wordList & phaseTypes | ( | ) | const |
Return the list of word representation of phase types.
Definition at line 80 of file phasePropertiesList.C.
| const Foam::wordList & stateLabels | ( | ) | const |
Return the list of state labels.
Definition at line 86 of file phasePropertiesList.C.
| Foam::label size | ( | ) | const |
Return the size (number of phases)
Definition at line 92 of file phasePropertiesList.C.
| const Foam::phaseProperties & operator[] | ( | const label | phaseI | ) | const |
Definition at line 99 of file phasePropertiesList.C.
1.8.13