44 #ifndef UFunctionalDimensionedField_H
45 #define UFunctionalDimensionedField_H
57 template<
class Type,
class GeoMesh>
61 const UFunctionalDimensionedField<Type, GeoMesh>& udff
68 template<
class Type,
class GeoMesh>
106 const word& funcName,
111 const Type& defaultValue
156 friend void writeEntry <Type, GeoMesh>
const dimensionSet & dimensions() const
Return dimensions.
Pre-declare SubField and related Field type.
const word & name() const
Return name.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Specialisation of DimensionedField which holds a slice of a given complete field in such a form that ...
Combined class containing a field reference, a dimensionedField wrapper providing the corresponding m...
UFunctionalDimensionedField(const word &name, const word &funcName, const GeoMesh &, const dimensionSet &dimensions, Field< Type > &, const dictionary &)
Construct from name, mesh, dimensions, field and dictionary.
virtual bool write(const bool write=true) const
Write using setting from DB.
void map(const bool evaluate)
Map and optionally evaluate.
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 evaluate(GeometricField< Type, GeoMesh > &result, const Function1< Type > &func, const GeometricField< Type, GeoMesh > &x)
void writeEntry(Ostream &os, const word &key, const DimensionedFieldFunction< DimensionedFieldType > &f)