Go to the documentation of this file.
62 #ifndef Function1Types_Polynomial_H
63 #define Function1Types_Polynomial_H
73 namespace Function1Types
97 void checkCoefficients();
147 virtual Type
value(
const scalar
x)
const;
150 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Polynomial(const word &entryName, const dictionary &dict, const objectRegistry *obrPtr=nullptr)
Construct from entry name, dictionary and optional registry.
A class for handling words, derived from Foam::string.
virtual void writeData(Ostream &os) const
Write as primitive (inline) format.
A class for managing temporary objects.
virtual Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
const word const dictionary & dict
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)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual Type value(const scalar x) const
Return Polynomial value.
TypeName("polynomial")
Runtime type information.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A 2-tuple for storing two objects of dissimilar types. The container is similar in purpose to std::pa...
virtual void userTimeToTime(const Time &t)
Convert time.
virtual ~Polynomial()=default
Destructor.