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