52 props_[i].reorder(gasNames, liquidNames, solidNames);
55 phaseTypeNames_.
setSize(props_.size());
56 stateLabels_.
setSize(props_.size());
59 phaseTypeNames_[i] = props_[i].phaseTypeName();
60 stateLabels_[i] = props_[i].stateLabel();
82 return phaseTypeNames_;
101 return props_[phaseI];
label size() const
Return the size (number of phases)
const phaseProperties & operator[](const label) const
#define forAll(list, i)
Loop across all elements in list.
Helper class to manage multi-specie phase properties.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const wordList & phaseTypes() const
Return the list of word representation of phase types.
const wordList & stateLabels() const
Return the list of state labels.
~phasePropertiesList()
Destructor.
phasePropertiesList()
Construct null.
void setSize(const label)
Reset size of List.
const List< phaseProperties > & props() const
Return the list of phase properties.