39#ifndef phaseProperties_H
40#define phaseProperties_H
54Istream&
operator>>(Istream&, phaseProperties&);
55Ostream&
operator<<(Ostream&,
const phaseProperties&);
103 void reorder(
const wordList& specieNames);
106 void setCarrierIds(
const wordList& carrierNames);
109 void checkTotalMassFraction()
const;
153 const word&
name(
const label speciei)
const;
159 scalar&
Y(
const label speciei);
166 label
id(
const word& specieName)
const;
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Helper class to manage multi-specie phase properties.
static const Enum< phaseType > phaseTypeNames
Corresponding word representations for phase type enumerations.
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.
const word & name(const label speciei) const
Return const access to a specie name.
phaseType
Phase type enumeration.
phaseProperties()
Default construct, as 'UNKNOWN' state.
friend Ostream & operator<<(Ostream &, const phaseProperties &)
phaseType phase() const
Return const access to the phase type.
const scalarField & Y() const
Return const access to all specie mass fractions.
const word & stateLabel() const
Return const access to the phase state label.
friend Istream & operator>>(Istream &, phaseProperties &)
label id(const word &specieName) const
Return the id of a specie in the local list by name.
word phaseTypeName() const
Return word representation of the phase type.
A class for handling words, derived from Foam::string.
const wordList solidNames(rp["solid"])
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)