Go to the documentation of this file.
44 const word& entryName,
58 scale_(rhs.scale_.clone()),
59 value_(rhs.value_.clone())
68 scale_->writeData(os);
69 value_->writeData(os);
A class for handling words, derived from Foam::string.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Ostream & beginBlock(const keyType &kw)
Write begin block group with the given name.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Function1 which scales a given 'value' function by a scalar 'scale' function.
word name(const complex &c)
Return string representation of complex.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Ostream & endBlock()
Write end block group.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
Scale(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.