139 public FieldFunction1<Type, Scale<Type>>
144 const autoPtr<Function1<scalar>> scale_;
147 const autoPtr<Function1<scalar>> xScale_;
150 const autoPtr<Function1<Type>> value_;
153 const bool integrableScale_;
156 const bool integrableValue_;
195 virtual inline Type
value(
const scalar
x)
const;
198 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
201 virtual inline bool constant()
const;
const word & name() const
Return the name of the entry.
Function1 which scales a given 'value' function by a 'scale' scalar function and scales the 'x' argum...
virtual Type integral(const scalar x1, const scalar x2) const
Integrate between two values.
virtual void write(Ostream &os, const unitConversions &units) const
Write data to dictionary stream.
void operator=(const Scale< Type > &)=delete
Disallow default bitwise assignment.
virtual Type value(const scalar x) const
Return value.
virtual ~Scale()
Destructor.
virtual bool constant() const
Is this function guaranteed to be constant?
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.
const HashTable< unitConversion > & units()
Get the table of unit conversions.