95 public FieldFunction1<scalar, normalise>
100 const Pair<scalar> bounds_;
103 const autoPtr<Function1<scalar>> value_;
136 virtual inline scalar
value(
const scalar
x)
const;
139 virtual inline scalar
integral(
const scalar x1,
const scalar x2)
const;
const word & name() const
Return the name of the entry.
Function1 which scales a given 'value' function so that its integral within specified bounds is equal...
void operator=(const normalise &)=delete
Disallow default bitwise assignment.
normalise(const word &name, const unitConversions &units, const dictionary &dict)
Construct from name and dictionary.
virtual scalar value(const scalar x) const
Return value.
virtual void write(Ostream &os, const unitConversions &units) const
Write data to dictionary stream.
virtual ~normalise()
Destructor.
virtual scalar integral(const scalar x1, const scalar x2) const
Integrate between two values.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
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.
const HashTable< unitConversion > & units()
Get the table of unit conversions.
quaternion normalise(const quaternion &q)
Return the normalised (unit) quaternion of the given quaternion.