41 #ifndef FunctionalGeometricField_H
42 #define FunctionalGeometricField_H
55 template<
class Type,
class GeoMesh>
59 const FunctionalGeometricField<Type, GeoMesh>& udff
66 template<
class Type,
class GeoMesh>
74 typedef typename GeoMesh::BoundaryMesh::value_type GeoPatch;
80 void setPatchFields();
107 const Type defaultValue_;
118 const word& funcName,
129 const word& funcName,
133 const Type& defaultValue
167 friend void writeEntry <Type, GeoMesh>
const dimensionSet & dimensions() const
Return dimensions.
GeometricField with a corresponding run-time selected function to evaluate and update the field.
virtual bool write(const bool write=true) const
Write using setting from DB.
FunctionalGeometricField(const word &name, const word &funcName, const GeoMesh &, const dimensionSet &dimensions, const dictionary &)
Construct from name, mesh, dimensions, field and dictionary.
Generic GeometricField class.
const word & name() const
Return name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
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.
Dimension set for the base types.
virtual bool write(const bool write=true) const
Write using setting from DB.
A class for handling words, derived from string.
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)