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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
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.