55 template<
class Type>
Ostream& operator<<(Ostream&, const Function1<Type>&);
143 virtual Type
value(
const scalar
x)
const;
149 virtual Type
integrate(
const scalar x1,
const scalar x2)
const;
162 friend Ostream& operator<< <Type>
179 #define makeFunction1(Type) \ 181 defineNamedTemplateTypeNameAndDebug(Function1<Type>, 0); \ 183 defineTemplateRunTimeSelectionTable \ 190 #define makeFunction1Type(SS, Type) \ 192 defineNamedTemplateTypeNameAndDebug(Function1Types::SS<Type>, 0); \ 194 Function1<Type>::adddictionaryConstructorToTable<Function1Types::SS<Type>> \ 195 add##SS##Type##ConstructorToTable_; Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const word & name() const
Return the name of the entry.
const word const dictionary & dict
Reference counter for various OpenFOAM components.
A list of keyword definitions, which are a keyword followed by any number of values (e...
virtual void writeData(Ostream &os) const
Write in dictionary format.
TypeName("Function1") declareRunTimeSelectionTable(autoPtr
Runtime type information.
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.
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...
virtual ~Function1()
Destructor.
virtual void convertTimeBase(const Time &t)
Convert time.
#define declareRunTimeSelectionTable(autoPtr, baseType, argNames, argList, parList)
Declare a run-time selection.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual Type value(const scalar x) const
Return value as a function of (scalar) independent variable.
A class for managing temporary objects.
virtual tmp< Function1< Type > > clone() const
Construct and return a clone.
static autoPtr< Function1< Type > > New(const word &entryName, const dictionary &dict)
Selector.