35 coeffs.found(
"xScale")
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_());
55 const word& entryName,
69 scale_(se.scale_, false),
70 xScale_(se.xScale_, false),
71 value_(se.value_, false),
72 integrableScale_(se.integrableScale_),
73 integrableValue_(se.integrableValue_)
95 value_->writeData(os);
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
Ostream & indent(Ostream &os)
Indent stream.
virtual ~Scale()
Destructor.
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.
autoPtr< BasicCompressibleMomentumTransportModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleMomentumTransportModel::transportModel &transport)
Function1 which scales a given 'value' function by a 'scale' scalar function and scales the 'x' argum...
A class for handling words, derived from string.
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...
Ostream & decrIndent(Ostream &os)
Decrement the indent level.
virtual void writeData(Ostream &os) const
Write in dictionary format.
Ostream & incrIndent(Ostream &os)
Increment the indent level.