113 virtual inline Type
value(
const scalar)
const;
116 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
119 virtual inline bool constant()
const;
const word & name() const
Return the name of the entry.
Templated function that returns a constant value.
Constant(const word &name, const Type &val)
Construct from name and value.
virtual Type integral(const scalar x1, const scalar x2) const
Integrate between two values.
virtual void write(Ostream &os, const unitConversions &units) const
Write in dictionary format.
virtual Type value(const scalar) const
Return constant value.
void operator=(const Constant< Type > &)=delete
Disallow default bitwise assignment.
virtual bool constant() const
Is this function guaranteed to be constant?
virtual ~Constant()
Destructor.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
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 managing temporary objects.
A class for handling words, derived from string.
const HashTable< unitConversion > & units()
Get the table of unit conversions.