35 #ifndef sampledPatch_H 36 #define sampledPatch_H 71 mutable bool needsUpdate_;
122 return patchFaceLabels_;
virtual const pointField & points() const
Points of surface.
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...
bool interpolate() const
Interpolation requested for surface.
virtual ~sampledPatch()
Destructor.
const labelList & patchStart() const
Generic GeometricField class.
const labelList & patchFaceLabels() const
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A sampledSurface on patches. Non-triangulated by default.
A class for handling words, derived from string.
virtual bool update()
Update the surface as required.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
const Field< PointType > & points() const
Return reference to global points.
const wordReList & patchNames() const
virtual bool expire()
Mark the surface as needing an update.
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...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
TypeName("sampledPatch")
Runtime type information.
virtual void print(Ostream &) const
Write.
const List< face > & faces() const
Return const access to the faces.
const labelList & patchIDs() const
virtual const faceList & faces() const
Faces of surface.
virtual bool needsUpdate() const
Does the surface need an update?
Abstract base class for interpolation.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
sampledPatch(const word &name, const polyMesh &mesh, const wordReList &patchNames, const bool triangulate=false)
Construct from components.