Go to the documentation of this file.
43 readHeaderOk(IOstream::BINARY, typeName);
71 readHeaderOk(IOstream::BINARY, typeName);
89 this->dimensions().read
91 dict.lookup(
"dimensions", keyType::LITERAL),
95 dict.readEntry(
"value", this->value());
96 this->value() *= multiplier;
105 scalar multiplier(1);
106 os.writeKeyword(
"dimensions");
107 this->dimensions().write(
os, multiplier) << token::END_STATEMENT <<
nl;
108 os.writeEntry(
"value", this->value()/multiplier) <<
nl;
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static constexpr const zero Zero
Global zero (0)
bool good() const noexcept
True if next operation might succeed.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Generic dimensioned Type class.
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const dimensionSet dimless
Dimensionless.