41 #ifndef FunctionalDimensionedField_H
42 #define FunctionalDimensionedField_H
54 template<
class Type,
class GeoMesh>
58 const FunctionalDimensionedField<Type, GeoMesh>& udff
65 template<
class Type,
class GeoMesh>
103 const Type& defaultValue
140 friend void writeEntry <Type, GeoMesh>
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const dimensionSet & dimensions() const
Return dimensions.
DimensionedField 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.
void map(const bool evaluate)
Map and optionally evaluate.
FunctionalDimensionedField(const word &name, const word &funcName, const GeoMesh &, const dimensionSet &dimensions, const dictionary &)
Construct from name, mesh, dimensions, field and dictionary.
const word & name() const
Return name.
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.
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)