103 virtual inline Type
value(
const scalar)
const;
106 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
Constant(const word &name, const Type &val)
Construct from name and value.
const word const dictionary & dict
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.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
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.