Go to the documentation of this file.
37 #ifndef Function1Types_None_H
38 #define Function1Types_None_H
46 namespace Function1Types
97 virtual ~None() =
default;
103 virtual inline bool constant()
const {
return true; }
106 virtual Type
value(
const scalar
x)
const;
109 virtual Type
integral(
const scalar x1,
const scalar x2)
const;
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
TypeName("none")
Runtime type information.
void operator=(const None< Type > &)=delete
No copy assignment.
const word const dictionary & dict
Templated placeholder function that returns an error message if called.
virtual Type integral(const scalar x1, const scalar x2) const
Placeholder: generates an error if called.
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
virtual Type value(const scalar x) const
Placeholder: generates an error if called.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
virtual bool constant() const
Value is independent of x.
virtual ~None()=default
Destructor.
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
None(const None< Type > &rhs)=default
Default copy constructor.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.