Go to the documentation of this file.
148 virtual Type
value(
const scalar
x)
const;
154 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
191 friend Ostream& operator<< <Type>
208 #define makeDataEntry(Type) \
210 defineNamedTemplateTypeNameAndDebug(DataEntry<Type>, 0); \
212 defineTemplateRunTimeSelectionTable \
219 #define makeDataEntryType(SS, Type) \
221 defineNamedTemplateTypeNameAndDebug(SS<Type>, 0); \
223 DataEntry<Type>::adddictionaryConstructorToTable<SS<Type> > \
224 add##SS##Type##ConstructorToTable_;
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
const word name_
Name of entry.
A class for managing temporary objects.
Reference counter for various OpenFOAM components.
const word & name() const
Return the name of the entry.
virtual ~DataEntry()
Destructor.
static autoPtr< DataEntry< Type > > New(const word &entryName, const dictionary &dict)
Selector.
virtual dimensioned< Type > dimIntegrate(const scalar x1, const scalar x2) const
Integrate between two scalars and return a dimensioned type.
Pre-declare SubField and related Field type.
virtual void writeData(Ostream &os) const
Write in dictionary format.
void operator=(const DataEntry< Type > &)
Disallow default bitwise assignment.
A list of keyword definitions, which are a keyword followed by any number of values (e....
TypeName("DataEntry") declareRunTimeSelectionTable(autoPtr
Runtime type information.
virtual dimensioned< Type > dimValue(const scalar x) const
Return dimensioned type.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual void convertTimeBase(const Time &t)
Convert time.
#define declareRunTimeSelectionTable(autoPtr, baseType, argNames, argList, parList)
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,...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const word const dictionary & dict
virtual Type value(const scalar x) const
Return value as a function of (scalar) independent variable.
virtual tmp< DataEntry< Type > > clone() const
Construct and return a clone.