34 #ifndef Zonal_DimensionedFvPatchFieldFunction_H
35 #define Zonal_DimensionedFvPatchFieldFunction_H
43 namespace DimensionedFieldFunctions
50 template<
class DimensionedFieldType>
53 public DimensionedFieldFunction<DimensionedFieldType>
55 typedef typename DimensionedFieldType::Type_ Type;
56 typedef typename DimensionedFieldType::GeoMesh_::Zone Zone;
59 dictionary zonesDict_;
74 DimensionedFieldType& field
81 DimensionedFieldType& field
86 clone(DimensionedFieldType& field)
const;
virtual autoPtr< DimensionedFieldFunction< DimensionedFieldType > > clone() const
Construct and return a clone for the specified field.
Zonal internal and patch field initialisation function.
Zonal(const dictionary &dict, DimensionedFieldType &field)
Construct with dictionary to initialise given field.
virtual void evaluate()
Evaluate the function and set the field.
virtual void write(Ostream &os) const
Write data to dictionary stream.
virtual ~Zonal()
Destructor.
TypeName("zonal")
Runtime type information.
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.