37 : autoPtr<Function1<scalar>>(new Constant<scalar>(
"xScale", 1));
41 isA<Constant<scalar>>(xScale_())
42 &&
isA<Constant<scalar>>(scale_());
45 isA<Constant<scalar>>(xScale_())
46 &&
isA<Constant<Type>>(value_());
62 scale_(scale.
clone().ptr()),
63 xScale_(xScale.
clone().ptr()),
64 value_(value.
clone().ptr()),
95 scale_(se.scale_, false),
96 xScale_(se.xScale_, false),
97 value_(se.value_, false),
98 integrableScale_(se.integrableScale_),
99 integrableValue_(se.integrableValue_)
Run-time selectable general function of one variable.
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
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,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for handling words, derived from string.
void writeEntry(Ostream &os, const omega &a)
autoPtr< CompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const viscosity &viscosity)
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
word name(const complex &)
Return a string representation of a complex.