73 #ifndef Coded_DimensionedFieldFunction_H
74 #define Coded_DimensionedFieldFunction_H
83 namespace DimensionedFieldFunctions
90 template<
class DimensionedFieldType>
105 static const word codeOptions;
115 redirectFunctionPtr_;
130 DimensionedFieldType& field
134 Coded(
const Coded& dff, DimensionedFieldType& field);
138 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.
Coded internal and patch field initialisation, evaluation and update with dimension checking.
virtual void evaluate()
Evaluate the function and set the field.
TypeName("coded")
Runtime type information.
virtual void write(Ostream &os) const
Write data to dictionary stream.
Coded(const dictionary &dict, DimensionedFieldType &field)
Construct with dictionary to initialise given field.
virtual bool update()
Update the field if the function has changed and return true.
virtual ~Coded()
Destructor.
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...
Base class for coded functionObjects, fvModels, Function1, Function2.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for handling words, derived from string.