Go to the documentation of this file.
43 #ifndef Function1Types_OneConstant_H
44 #define Function1Types_OneConstant_H
52 namespace Function1Types
107 virtual inline bool constant()
const {
return true; }
110 virtual inline Type
value(
const scalar)
const;
113 virtual inline Type
integrate(
const scalar x1,
const scalar x2)
const;
void operator=(const OneConstant< Type > &)=delete
A class for handling words, derived from Foam::string.
OneConstant(const word &entryName, const objectRegistry *obrPtr=nullptr)
virtual Type integrate(const scalar x1, const scalar x2) const
A class for managing temporary objects.
virtual ~OneConstant()=default
const word const dictionary & dict
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual bool constant() const
Registry of regIOobjects.
virtual Type value(const scalar) const
Generic templated field type.
const word const dictionary const objectRegistry * obrPtr
Templated function that returns the corresponding 1 (one).
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual tmp< Function1< Type > > clone() const
OBJstream os(runTime.globalPath()/outputName)
virtual void writeData(Ostream &os) const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...