35 #ifndef sampledIsoSurfaceSurface_H
36 #define sampledIsoSurfaceSurface_H
46 namespace sampledSurfaces
68 mutable label isoSurfTimeIndex_;
102 return isoSurfTimeIndex_;
109 TypeName(
"sampledIsoSurfaceSurface");
135 virtual bool update()
const;
140 return isoSurfPtr_->points();
146 return isoSurfPtr_->faces();
150 #define DEFINE_SAMPLE(Type, nullArg) \
151 virtual tmp<Field<Type>> sample \
153 const VolField<Type>& \
159 #define DEFINE_INTERPOLATE(Type, nullArg) \
160 virtual tmp<Field<Type>> interpolate \
162 const interpolation<Type>& \
165 #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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
cellZone selection or generation class
Abstract base class for interpolation.
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
Class containing mesh-to-mesh mapping information.
Mesh consisting of general polyhedral cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
virtual void topoChange(const polyTopoChangeMap &)
Update topology using the given map.
virtual void distribute(const polyDistributionMap &)
Redistribute or update using the given distribution map.
virtual void movePoints()
Update for mesh point-motion.
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 void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
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.