37 #ifndef Foam_Function1Types_None_H 38 #define Foam_Function1Types_None_H 46 namespace Function1Types
97 virtual ~None() =
default;
103 virtual inline bool constant()
const {
return true; }
106 virtual inline bool good()
const {
return false; }
109 virtual Type
value(
const scalar
x)
const;
112 virtual Type
integral(
const scalar x1,
const scalar x2)
const;
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
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 a number of values (eg...
None(const None< Type > &)=default
Default copy construct.
virtual Type value(const scalar x) const
Placeholder: generates an error if called.
Templated placeholder function that returns an error message if called.
A class for handling words, derived from Foam::string.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
OBJstream os(runTime.globalPath()/outputName)
virtual Type integral(const scalar x1, const scalar x2) const
Placeholder: generates an error if called.
const word const dictionary const objectRegistry * obrPtr
A class for managing temporary objects.
Registry of regIOobjects.
virtual bool good() const
Function cannot be evaluated.
virtual bool constant() const
Value is independent of x.
virtual ~None()=default
Destructor.
void operator=(const None< Type > &)=delete
No copy assignment.
TypeName("none")
Runtime type information.