Go to the documentation of this file.
43 #ifndef ZeroConstant_H
44 #define ZeroConstant_H
52 namespace Function1Types
92 virtual inline Type
value(
const scalar)
const;
95 virtual inline Type
integrate(
const scalar x1,
const scalar x2)
const;
Templated function that returns the corresponding 0 (zero).
A class for handling words, derived from Foam::string.
const word const dictionary & dict
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two values.
ZeroConstant(const word &entryName)
Construct from entry name.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Type value(const scalar) const
Return constant value.
TypeName("zero")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual ~ZeroConstant()=default
Destructor.