62#ifndef Function1Types_Polynomial_H
63#define Function1Types_Polynomial_H
73namespace Function1Types
97 void checkCoefficients();
147 virtual Type
value(
const scalar
x)
const;
150 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
TypeName("polynomial")
Runtime type information.
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
virtual ~Polynomial()=default
Destructor.
virtual Type value(const scalar x) const
Return Polynomial value.
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
virtual void userTimeToTime(const Time &t)
Convert time.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const word const dictionary & dict
const word const dictionary const objectRegistry * obrPtr
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Registry of regIOobjects.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.