Go to the documentation of this file.
52 #ifndef Function1Types_ZeroConstant_H
53 #define Function1Types_ZeroConstant_H
61 namespace Function1Types
110 virtual inline bool constant()
const {
return true; }
113 virtual inline Type
value(
const scalar)
const;
116 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.
ZeroConstant(const word &entryName, const objectRegistry *obrPtr=nullptr)
const word const dictionary & dict
virtual 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...
Registry of regIOobjects.
const word const dictionary const objectRegistry * obrPtr
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual void writeData(Ostream &os) const
virtual Type value(const scalar) const
void operator=(const ZeroConstant< Type > &)=delete
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool constant() const
virtual ~ZeroConstant()=default