73 #ifndef Surfaces_DimensionedFieldFunction_H
74 #define Surfaces_DimensionedFieldFunction_H
89 namespace DimensionedFieldFunctions
96 template<
class DimensionedFieldType>
106 typedef typename DimensionedFieldType::Type_ Type;
133 void readSurfacesAndValues();
148 DimensionedFieldType& field
155 DimensionedFieldType& field
161 DimensionedFieldType& field
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.
Dimensioned field function which sets constant values inside a set of surfaces, and a default value e...
Surfaces(const dictionary &dict, DimensionedFieldType &field)
Construct with dictionary to initialise given field.
virtual ~Surfaces()
Destructor.
virtual void evaluate()
Evaluate the function and set the field.
virtual void write(Ostream &os) const
Write data to dictionary stream.
TypeName("surfaces")
Runtime type information.
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.
Generic dimensioned Type class.
Mesh data needed to do the Finite Volume discretisation.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Mesh consisting of general polyhedral cells.
A patch is a list of labels that address the faces in the global face list.