44 io.
readOpt() == IOobject::MUST_READ
45 || io.
readOpt() == IOobject::MUST_READ_IF_MODIFIED
47 || (io.
readOpt() == IOobject::READ_IF_PRESENT && headerOk())
52 this->dimensions().read(dict.
lookup(
"dimensions"), multiplier);
53 dict.
lookup(
"value") >> this->value();
54 this->value() *= multiplier;
81 this->dimensions().read(dict.
lookup(
"dimensions"), multiplier);
82 dict.
lookup(
"value") >> this->value();
83 this->value() *= multiplier;
101 this->dimensions().
write(os, multiplier) << token::END_STATEMENT
103 os.
writeKeyword(
"value") << this->value()/multiplier << token::END_STATEMENT
113 void Foam::UniformDimensionedField<Type>::operator=
123 void Foam::UniformDimensionedField<Type>::operator=
A list of keyword definitions, which are a keyword followed by any number of values (e...
Generic dimensioned Type class.
bool good() const
Return true if next operation might succeed.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & writeKeyword(const keyType &)
Write the keyword followed by an appropriate indentation.
word name(const complex &)
Return a string representation of a complex.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
regIOobject is an abstract class derived from IOobject to handle automatic object registration with t...
virtual Ostream & write(const token &)=0
Write next token to stream.
readOption readOpt() const
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.