36 #ifndef phaseProperties_H 37 #define phaseProperties_H 51 class phaseProperties;
53 Istream&
operator>>(Istream&, phaseProperties&);
54 Ostream&
operator<<(Ostream&,
const phaseProperties&);
103 void reorder(
const wordList& specieNames);
106 void setCarrierIds(
const wordList& carrierNames);
109 void checkTotalMassFraction()
const;
166 scalar&
Y(
const label speciei);
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)...
~phaseProperties()
Destructor.
friend Ostream & operator<<(Ostream &, const phaseProperties &)
word phaseTypeName() const
Return word representation of the phase type.
static const NamedEnum< phaseType, 4 > phaseTypeNames
Corresponding word representations for phase type enumerations.
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.
const word & stateLabel() const
Return const access to the phase state label.
A class for handling words, derived from string.
phaseType
Phase type enumeration.
Istream & operator>>(Istream &, directionInfo &)
const scalarField & Y() const
Return const access to all specie mass fractions.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const word & name(const label speciei) const
Return const access to a specie name.
Ostream & operator<<(Ostream &, const ensightPart &)
phaseProperties()
Null constructor.
const List< word > & names() const
Return the list of specie names.
friend Istream & operator>>(Istream &, phaseProperties &)
phaseType phase() const
Return const access to the phase type.