45 #ifndef PolynomialEntry_H 46 #define PolynomialEntry_H 90 const word& entryName,
107 virtual Type
value(
const scalar
x)
const;
110 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
const word const dictionary & dict
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.
void operator=(const Polynomial< Type > &)=delete
Disallow default bitwise assignment.
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...
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual ~Polynomial()
Destructor.
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...
Polynomial(const word &entryName, const dictionary &dict)
TypeName("polynomial")
Runtime type information.
virtual Type value(const scalar x) const
Return Polynomial value.