75 #ifndef TimeFunction_DimensionedFieldFunction_H
76 #define TimeFunction_DimensionedFieldFunction_H
85 namespace DimensionedFieldFunctions
92 template<
class DimensionedFieldType>
115 DimensionedFieldType& field
122 DimensionedFieldType& field
127 clone(DimensionedFieldType& field)
const;
Base class for run-time selectable internal and patch field initialisation evaluation and update with...
virtual autoPtr< DimensionedFieldFunction< DimensionedFieldType > > clone() const
Construct and return a clone for the specified field.
Time dependent internal and patch field initialisation and update function.
TypeName("timeFunction")
Runtime type information.
virtual ~TimeFunction()
Destructor.
virtual void evaluate()
Evaluate the function and set the field.
virtual void write(Ostream &os) const
Write data to dictionary stream.
TimeFunction(const dictionary &dict, DimensionedFieldType &field)
Construct with dictionary to initialise given field.
virtual bool update()
Update the field for the current time.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.