45 Y_(
dict.subDict(
"specie").getOrDefault<scalar>(
"massFraction", 1)),
46 molWeight_(
dict.subDict(
"specie").get<scalar>(
"molWeight"))
56 os.beginBlock(
"specie");
57 os.writeEntryIfDifferent<scalar>(
"massFraction", 1, Y_);
58 os.writeEntry(
"molWeight", molWeight_);
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool write(const token &tok)=0
Write token to stream or otherwise handle it.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Base class of the thermophysical property types.
specie(const specie &)=default
Copy construct.
void write(Ostream &os) const
Write to Ostream.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
const word dictName("faMeshDefinition")
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces).