40 scale_(scale.
clone().ptr()),
41 constantScale_(scale_->constant()),
42 xScale_(xScale.
clone().ptr()),
43 constantXScale_(xScale_->constant()),
44 value_(value.
clone().ptr()),
45 constantValue_(value_->constant())
59 constantScale_(scale_->constant()),
66 constantXScale_(xScale_->constant()),
68 constantValue_(value_->constant())
76 scale_(se.scale_, false),
77 constantScale_(se.constantScale_),
78 xScale_(se.xScale_, false),
79 constantXScale_(se.constantXScale_),
80 value_(se.value_, false),
81 constantValue_(se.constantValue_)
Templated function that returns a constant value.
Function1 which scales a given 'value' function by a 'scale' scalar function and scales the 'x' argum...
virtual void write(Ostream &os, const unitConversions &units) const
Write data to dictionary stream.
virtual ~Scale()
Destructor.
Scale(const word &name, const Function1< scalar > &scale, const Function1< scalar > &xScale, const Function1< Type > &value)
Construct from name and functions.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.
void writeEntry(Ostream &os, const omega &a)
const unitConversion unitAny
const HashTable< unitConversion > & units()
Get the table of unit conversions.
word name(const LagrangianState state)
Return a string representation of a Lagrangian state enumeration.
const unitConversion unitless
tmp< DimensionedField< TypeR, GeoMesh, Field > > New(const tmp< DimensionedField< TypeR, GeoMesh, Field >> &tdf1, const word &name, const dimensionSet &dimensions)