54 props_[i].reorder(gasNames, liquidNames,
solidNames);
57 phaseTypeNames_.
setSize(props_.size());
58 stateLabels_.
setSize(props_.size());
61 phaseTypeNames_[i] = props_[i].phaseTypeName();
62 stateLabels_[i] = props_[i].stateLabel();
84 return phaseTypeNames_;
103 return props_[phaseI];
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void setSize(const label n)
Alias for resize()
~phasePropertiesList()
Destructor.
const wordList & stateLabels() const
Return the list of state labels.
label size() const
Return the size (number of phases)
const List< phaseProperties > & props() const
Return the list of phase properties.
const phaseProperties & operator[](const label) const
phasePropertiesList()
Construct null.
const wordList & phaseTypes() const
Return the list of word representation of phase types.
Helper class to manage multi-specie phase properties.
const wordList solidNames(rp["solid"])
#define forAll(list, i)
Loop across all elements in list.