40 #ifndef ZeroConstant_H 41 #define ZeroConstant_H 81 virtual inline Type
value(
const scalar)
const;
84 virtual inline Type
integral(
const scalar x1,
const scalar x2)
const;
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.
void operator=(const ZeroConstant< Type > &)=delete
Disallow default bitwise assignment.
Templated function that returns the corresponding 0 (zero).
virtual ~ZeroConstant()
Destructor.
A class for handling words, derived from string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual Type value(const scalar) const
Return constant value.
virtual void write(Ostream &os) const
Write in dictionary format.
virtual Type integral(const scalar x1, const scalar x2) const
Integrate between two values.
ZeroConstant(const word &name, const dictionary &dict)
Construct from name and dictionary.