104 virtual inline Type
value(
const scalar)
const;
107 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
Constant(const word &name, const Type &val)
Construct from name and value.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const word & name() const
Return the name of the entry.
virtual Type integral(const scalar x1, const scalar x2) const
Integrate between two values.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &os) const
Write in dictionary format.
virtual ~Constant()
Destructor.
Templated function that returns a constant value.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
A class for managing temporary objects.
virtual Type value(const scalar) const
Return constant value.
void operator=(const Constant< Type > &)=delete
Disallow default bitwise assignment.