34 stateLabel_(
"(unknown)"),
39 is.
check(
"Foam::phaseProperties::phaseProperties(Istream& is)");
44 stateLabel_ = phaseToStateLabel(phase_);
46 if (phaseInfo.
size() > 0)
49 names_.
setSize(nComponents,
"unknownSpecie");
51 carrierIds_.
setSize(nComponents, -1);
56 names_[cmptI] = iter().keyword();
61 checkTotalMassFraction();
72 "Foam::Istream& Foam::operator>>(Istream&, phaseProperties&)" 78 pp.stateLabel_ = pp.phaseToStateLabel(pp.phase_);
80 if (phaseInfo.
size() > 0)
84 pp.names_.
setSize(nComponents,
"unknownSpecie");
85 pp.Y_.
setSize(nComponents, 0.0);
86 pp.carrierIds_.
setSize(nComponents, -1);
91 pp.names_[cmptI] = iter().keyword();
96 pp.checkTotalMassFraction();
107 "Foam::Ostream& Foam::operator<<(Ostream&, const phaseProperties&)" 123 "Foam::Ostream& Foam::operator<<(Ostream&, const phaseProperties&)" phaseProperties()
Null constructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & operator<<(Ostream &, const edgeMesh &)
label size() const
Return number of elements in list.
const keyType & keyword() const
Return keyword.
static const dictionary null
Null dictionary.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
Ostream & incrIndent(Ostream &os)
Increment the indent level.
void setSize(const label)
Reset size of List.
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
bool readScalar(const char *buf, doubleScalar &s)
Read whole of buf as a scalar. Return true if succesful.
A keyword and a list of tokens is a 'dictionaryEntry'.
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
Helper class to manage multi-specie phase properties.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
Istream & operator>>(Istream &, edgeMesh &)
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.