35 #ifndef sampledPatch_H 36 #define sampledPatch_H 45 namespace sampledSurfaces
74 mutable bool needsUpdate_;
125 return patchFaceLabels_;
183 return MeshStorage::faces();
virtual void print(Ostream &) const
Write.
TypeName("patch")
Runtime type information.
virtual bool expire()
Mark the surface as needing an update.
const labelList & patchIDs() const
A list of keyword definitions, which are a keyword followed by any number of values (e...
An abstract class for surfaces with sampling.
const word & name() const
Name of surface.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
A sampledSurface on patches. Non-triangulated by default.
virtual ~patch()
Destructor.
bool interpolate() const
Interpolation requested for surface.
virtual bool needsUpdate() const
Does the surface need an update?
virtual const pointField & points() const
Points of surface.
Generic GeometricField class.
const wordReList & patchNames() const
patch(const word &name, const polyMesh &mesh, const wordReList &patchNames, const bool triangulate=false)
Construct from components.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A class for handling words, derived from string.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
const polyMesh & mesh() const
Access to the underlying mesh.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
virtual bool update()
Update the surface as required.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual const faceList & faces() const
Faces of surface.
const labelList & patchStart() const
Abstract base class for interpolation.
const labelList & patchFaceLabels() const
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.