36 #ifndef phaseProperties_H 37 #define phaseProperties_H 95 void reorder(
const wordList& specieNames);
98 void setCarrierIds(
const wordList& carrierNames);
101 void checkTotalMassFraction()
const;
158 scalar&
Y(
const label speciei);
const word & name(const label speciei) const
Return const access to a specie name.
friend Ostream & operator<<(Ostream &, const phaseProperties &)
phaseProperties()
Null constructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
~phaseProperties()
Destructor.
phaseType phase() const
Return const access to the phase type.
const word & stateLabel() const
Return const access to the phase state label.
const scalarField & Y() const
Return const access to all specie mass fractions.
Helper class to manage multi-specie phase properties.
const List< word > & names() const
Return the list of specie names.
const labelList & carrierIds() const
Return const access to the map to the carrier ids.
label id(const word &specieName) const
Return the id of a specie in the local list by name.
friend Istream & operator>>(Istream &, phaseProperties &)
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static const NamedEnum< phaseType, 4 > phaseTypeNames
Corresponding word representations for phase type enumerations.
word phaseTypeName() const
Return word representation of the phase type.
phaseType
Phase type enumeration.