45 #ifndef PolynomialEntry_H 46 #define PolynomialEntry_H 56 namespace Function1Types
96 const word& entryName,
119 virtual Type
value(
const scalar
x)
const;
122 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
A list of keyword definitions, which are a keyword followed by any number of values (e...
A 2-tuple for storing two objects of different types.
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.
Polynomial(const word &entryName, const dictionary &dict)
A class for handling words, derived from string.
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...
TypeName("polynomial")
Runtime type information.
PolynomialEntry container data entry for scalars. Items are stored in a list of Tuple2's. Data is input in the form, e.g. for an entry <entryName> that describes y = x^2 + 2x^3.
virtual void convertTimeBase(const Time &t)
Convert time.
virtual ~Polynomial()
Destructor.
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual Type value(const scalar x) const
Return Polynomial value.