46 const word& entryName,
61 scale_(rhs.scale_.clone()),
62 value_(rhs.value_.clone())
71 scale_->writeData(
os);
72 value_->writeData(
os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual void writeEntries(Ostream &os) const
Write coefficient entries in dictionary format.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
const bool writeData(pdfDictionary.get< bool >("writeData"))
virtual void writeData(Ostream &os) const
Write in dictionary format.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Registry of regIOobjects.
Function1 which scales a given 'value' function by a scalar 'scale' function.
Scale(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.