40 #ifndef ZeroConstant_H 41 #define ZeroConstant_H 49 namespace Function1Types
92 Type
value(
const scalar)
const;
95 Type
integrate(
const scalar x1,
const scalar x2)
const;
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const word const dictionary & dict
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
ZeroConstant(const word &entryName, const dictionary &dict)
Construct from entry name and dictionary.
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 writeData(Ostream &os) const
Write in dictionary format.
Type integrate(const scalar x1, const scalar x2) const
Integrate between two values.
A class for managing temporary objects.
Type value(const scalar) const
Return constant value.
Templated function that returns the corresponding 0 (zero).
virtual ~ZeroConstant()
Destructor.