41 const word& entryName,
55 scale_(se.scale_, false),
56 value_(se.value_, false)
72 return scale_->value(t)*value_->value(t);
83 scale_->writeData(os);
84 value_->writeData(os);
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
Ostream & indent(Ostream &os)
Indent stream.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const word & name() const
Return the name of the entry.
Ostream & endl(Ostream &os)
Add newline and flush stream.
virtual void writeData(Ostream &os) const
Write in dictionary format.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
virtual void writeData(Ostream &os) const
Write in dictionary format.
Type value(const scalar t) const
Return value for time t.
A class for handling words, derived from string.
virtual ~Scale()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
Scale(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
Ostream & incrIndent(Ostream &os)
Increment the indent level.
Function1 which scales a given 'value' function by a scalar 'scale' function.