Go to the documentation of this file.
45 #ifndef PolynomialEntry_H
46 #define PolynomialEntry_H
107 const word& entryName,
136 Type
value(
const scalar
x)
const;
139 Type
integrate(
const scalar x1,
const scalar x2)
const;
155 friend Ostream& operator<< <Type>
PolynomialEntry container data entry for scalars. Items are stored in a list of Tuple2's....
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
bool canIntegrate_
Flag to indicate whether poly can be integrated.
PolynomialEntry(const word &entryName, const dictionary &dict)
A class for managing temporary objects.
Dimension set for the base types.
Type integrate(const scalar x1, const scalar x2) const
Integrate between two (scalar) values.
dimensioned< Type > dimIntegrate(const scalar x1, const scalar x2) const
Integrate between two values and return dimensioned type.
void operator=(const PolynomialEntry< Type > &)
Disallow default bitwise assignment.
dimensioned< Type > dimValue(const scalar) const
Return dimensioned constant value.
Ostream & operator<<(Ostream &, const edgeMesh &)
A list of keyword definitions, which are a keyword followed by any number of values (e....
dimensionSet dimensions_
The dimension set.
virtual tmp< DataEntry< Type > > clone() const
Construct and return a clone.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual ~PolynomialEntry()
Destructor.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual void writeData(Ostream &os) const
Write in dictionary format.
A 2-tuple for storing two objects of different types.
virtual void convertTimeBase(const Time &t)
Convert time.
Type value(const scalar x) const
Return PolynomialEntry value.
TypeName("polynomial")
Runtime type information.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
List< Tuple2< Type, Type > > coeffs_
PolynomialEntry coefficients - list of prefactor, exponent.