Go to the documentation of this file.
51 pp.stateLabel_ = pp.phaseToStateLabel(pp.phase_);
56 const label nComponents = pp.names_.size();
58 pp.Y_.resize(nComponents,
Zero);
59 pp.carrierIds_.
resize(nComponents, -1);
61 for (label cmpti = 0; cmpti < nComponents; ++cmpti)
63 pp.Y_[cmpti] =
dict.
get<scalar>(pp.names_[cmpti]);
65 pp.checkTotalMassFraction();
A keyword and a list of tokens is a 'dictionaryEntry'.
static const Enum< phaseType > phaseTypeNames
Corresponding word representations for phase type enumerations.
void resize(const label len)
Adjust allocated size of list.
static constexpr const zero Zero
Global zero (0)
virtual const dictionary & dict() const noexcept
Return dictionary (ie, this)
Helper class to manage multi-specie phase properties.
const keyType & keyword() const noexcept
Return keyword.
Istream & operator>>(Istream &, directionInfo &)
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#define forAll(list, i)
Loop across all elements in list.
static const dictionary null
An empty dictionary, which is also the parent for all dictionaries.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual Ostream & endBlock()
Write end block group.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
phaseProperties()
Default construct, as 'UNKNOWN' state.
Ostream & writeEntry(const keyType &key, const T &value)
Write a keyword/value entry.
wordList toc() const
Return the table of contents.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...