40 #ifndef sampledPatchInternalField_H
41 #define sampledPatchInternalField_H
50 namespace sampledSurfaces
104 #define DEFINE_SAMPLE(Type, nullArg) \
105 virtual tmp<Field<Type>> sample \
107 const VolField<Type>& \
113 #define DEFINE_INTERPOLATE(Type, nullArg) \
114 virtual tmp<Field<Type>> interpolate \
116 const interpolation<Type>& \
119 #undef DEFINE_INTERPOLATE
Generic GeometricField class.
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...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
const word & name() const
Name of surface.
const polyMesh & mesh() const
Access to the underlying mesh.
Variation of sampledPatch that samples the internalField (at a given normal distance from the patch) ...
TypeName("patchInternalField")
Runtime type information.
patchInternalField(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
FOR_ALL_FIELD_TYPES(DEFINE_SAMPLE)
virtual ~patchInternalField()
Destructor.
virtual void print(Ostream &) const
Write.
A sampledSurface on patches. Non-triangulated by default.
A class for managing temporary objects.
A class for handling words, derived from string.
#define DEFINE_SAMPLE(Type, nullArg)
Sample field on the surface's faces.
#define DEFINE_INTERPOLATE(Type, nullArg)
Interpolate field to the surface's points.