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