86 #ifndef sampledTriSurface_H
87 #define sampledTriSurface_H
100 namespace sampledSurfaces
109 public sampledSurface,
110 public MeshedSurface<face>
139 mutable bool needsUpdate_;
182 const word& surfaceName,
200 const word& sampleSourceName
230 #define DEFINE_SAMPLE(Type, nullArg) \
231 virtual tmp<Field<Type>> sample \
233 const VolField<Type>& \
239 #define DEFINE_INTERPOLATE(Type, nullArg) \
240 virtual tmp<Field<Type>> interpolate \
242 const interpolation<Type>& \
245 #undef DEFINE_INTERPOLATE
251 virtual void topoChange(
const polyTopoChangeMap&);
260 virtual void print(Ostream&)
const;
Generic GeometricField class.
const List< Face > & faces() const
Return const access to the faces.
const Field< PointType > & points() const
Return reference to global points.
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.
Non-pointer based hierarchical recursive searching.
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.
const word & name() const
Name of surface.
const polyMesh & mesh() const
Access to the underlying mesh.
triSurface(const word &name, const polyMesh &mesh, const word &surfaceName, const samplingSource sampleSource)
Construct from components.
static const NamedEnum< samplingSource, 3 > samplingSourceNames_
Names of communication types.
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)
samplingSource
Types of communications.
virtual void mapMesh(const polyMeshMap &)
Update from another mesh using the given map.
virtual bool needsUpdate() const
Does the surface need an update?
virtual bool update()
Update the surface as required.
virtual void print(Ostream &) const
Write.
virtual const faceList & faces() const
Faces of surface.
TypeName("triSurface")
Runtime type information.
virtual const pointField & points() const
Points of surface.
virtual ~triSurface()
Destructor.
A surface geometry formed of discrete facets, e.g. triangles and/or quadrilaterals,...
A class for managing temporary objects.
Triangulated surface description with patch information.
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.