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];
#define forAll(list, i)
Loop across all elements in list.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
void setSize(const label)
Reset size of List.
~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.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.