56 #ifndef DistanceFunction_DimensionedFieldFunction_H
57 #define DistanceFunction_DimensionedFieldFunction_H
66 namespace DimensionedFieldFunctions
73 template<
class DimensionedFieldType>
99 DimensionedFieldType& field
106 DimensionedFieldType& field
111 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.
Distance function internal and patch field initialisation function.
DistanceFunction(const dictionary &dict, DimensionedFieldType &field)
Construct with dictionary to initialise given field.
TypeName("distanceFunction")
Runtime type information.
virtual ~DistanceFunction()
Destructor.
virtual void evaluate()
Evaluate the function and set the field.
virtual void write(Ostream &os) const
Write data to dictionary stream.
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.