53 #ifndef sampledPatch_H
54 #define sampledPatch_H
63 namespace sampledSurfaces
72 public MeshedSurface<face>,
77 typedef MeshedSurface<face> MeshStorage;
92 mutable bool needsUpdate_;
143 return patchFaceLabels_;
Generic GeometricField class.
const List< face > & faces() const
Return const access to the faces.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const Field< PointType > & points() const
Return reference to global points.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for interpolation.
Mesh consisting of general polyhedral cells.
bool interpolate() const
Interpolation requested for surface.
const word & name() const
Name of surface.
const polyMesh & mesh() const
Access to the underlying mesh.
const wordReList & patchNames() const
const labelList & patchIndices() const
virtual ~patch()
Destructor.
TypeName("patch")
Runtime type information.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
virtual bool expire()
Mark the surface as needing an update.
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.
patch(const word &name, const polyMesh &mesh, const wordReList &patchNames, const bool triangulate=false)
Construct from components.
virtual const pointField & points() const
Points of surface.
const labelList & patchFaceLabels() const
const labelList & patchStart() const
A class for managing temporary objects.
A class for handling words, derived from string.
List< label > labelList
A List of labels.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
List< wordRe > wordReList
A List of wordRe (word or regular expression)