35 #ifndef sampledPatch_H 36 #define sampledPatch_H 71 mutable bool needsUpdate_;
122 return patchFaceLabels_;
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
A list of keyword definitions, which are a keyword followed by any number of values (e...
An abstract class for surfaces with sampling.
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
const List< face > & faces() const
Return const access to the faces.
virtual ~sampledPatch()
Destructor.
const Field< PointType > & points() const
Return reference to global points.
Generic GeometricField class.
const labelList & patchFaceLabels() const
virtual const faceList & faces() const
Faces of surface.
const wordReList & patchNames() const
virtual void print(Ostream &) const
Write.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A sampledSurface on patches. Non-triangulated by default.
const polyMesh & mesh() const
Access to the underlying mesh.
A class for handling words, derived from string.
const word & name() const
Name of surface.
virtual bool needsUpdate() const
Does the surface need an update?
virtual bool update()
Update the surface as required.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
virtual const pointField & points() const
Points of surface.
virtual bool expire()
Mark the surface as needing an update.
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.
bool interpolate() const
Interpolation requested for surface.
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
const labelList & patchIDs() const
A class for managing temporary objects.
sampledPatch(const word &name, const polyMesh &mesh, const wordReList &patchNames, const bool triangulate=false)
Construct from components.
const labelList & patchStart() const