35 #ifndef sampledIsoSurfaceSurface_H
36 #define sampledIsoSurfaceSurface_H
45 namespace sampledSurfaces
70 mutable label isoSurfTimeIndex_;
97 return zoneIDs_.
empty() ? NullObjectRef<labelList>() : zoneIDs_;
103 return isoSurfTimeIndex_;
110 TypeName(
"sampledIsoSurfaceSurface");
141 virtual bool update()
const;
146 return isoSurfPtr_->points();
152 return isoSurfPtr_->faces();
156 #define DEFINE_SAMPLE(Type, nullArg) \
157 virtual tmp<Field<Type>> sample \
159 const VolField<Type>& \
165 #define DEFINE_INTERPOLATE(Type, nullArg) \
166 virtual tmp<Field<Type>> interpolate \
168 const interpolation<Type>& \
171 #undef DEFINE_INTERPOLATE
Generic GeometricField class.
bool empty() const
Return true if the UList is empty (ie, size() is zero)
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 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.
const labelList & zoneIDs() const
Access the zone indices.
A class for managing temporary objects.
A wordRe is a word, but can also have a regular expression for matching words.
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.