35 #ifndef sampledIsoSurfaceSurface_H
36 #define sampledIsoSurfaceSurface_H
45 namespace sampledSurfaces
67 mutable label isoSurfTimeIndex_;
100 return isoSurfTimeIndex_;
107 TypeName(
"sampledIsoSurfaceSurface");
138 virtual bool update()
const;
143 return isoSurfPtr_->points();
149 return isoSurfPtr_->faces();
153 #define DEFINE_SAMPLE(Type, nullArg) \
154 virtual tmp<Field<Type>> sample \
156 const VolField<Type>& \
162 #define DEFINE_INTERPOLATE(Type, nullArg) \
163 virtual tmp<Field<Type>> interpolate \
165 const interpolation<Type>& \
168 #undef DEFINE_INTERPOLATE
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
An abstract class for surfaces with sampling.
const word & name() const
Name of surface.
const polyMesh & mesh() const
Access to the underlying mesh.
A base class for sampled surfaces constructed from iso-surfaces.
FOR_ALL_FIELD_TYPES(DEFINE_SAMPLE)
sampledIsoSurfaceSurface(const word &name, const polyMesh &mesh, const dictionary &dict)
Construct from dictionary.
TypeName("sampledIsoSurfaceSurface")
Runtime type information.
virtual bool expire()
Mark the surface as needing an update.
const word & zoneName() const
Access the zoneName.
const label & timeIndex() const
Access the time index.
virtual bool update()
Update the surface as required.
virtual const faceList & faces() const
Faces of surface.
virtual ~sampledIsoSurfaceSurface()
Destructor.
virtual const pointField & points() const
Points of surface.
A class for managing temporary objects.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
#define DEFINE_SAMPLE(Type, nullArg)
Sample field on the surface's faces.
#define DEFINE_INTERPOLATE(Type, nullArg)
Interpolate field to the surface's points.