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_;
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...
const word & name() const
Name of surface.
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.
const Field< PointType > & points() const
Return reference to global points.
List< label > labelList
A List of labels.
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...
const List< face > & faces() const
Return const access to the faces.
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.
List< wordRe > wordReList
A List of wordRe (word or regular expression)
A class for managing temporary objects.