38 #ifndef sampledPlane_H 39 #define sampledPlane_H 64 const bool triangulate_;
67 mutable bool needsUpdate_;
A sampledSurface defined by a cuttingPlane. Triangulated by default.
virtual ~sampledPlane()
Destructor.
sampledPlane(const word &name, const polyMesh &mesh, const plane &planeDesc, const keyType &zoneKey=word::null, const bool triangulate=true)
Construct from components.
An abstract class for surfaces with sampling.
A class for handling words, derived from string.
const word & name() const
Name of surface.
Abstract base class for interpolation.
virtual tmp< scalarField > sample(const volScalarField &) const
Sample field on surface.
virtual const pointField & points() const
Points of surface.
const polyMesh & mesh() const
Access to the underlying mesh.
virtual bool expire()
Mark the surface as needing an update.
A list of keyword definitions, which are a keyword followed by any number of values (e...
const labelList & meshCells() const
For every face original cell in mesh.
A class for handling keywords in dictionaries.
virtual bool needsUpdate() const
Does the surface need an update?
const labelList & cutCells() const
Return List of cells cut by the plane.
const List< face > & faces() const
Return const access to the faces.
virtual void print(Ostream &) const
Write.
virtual bool update()
Update the surface as required.
bool interpolate() const
Interpolation requested for surface.
Geometric class that creates a 2D plane and can return the intersection point between a line and the ...
Generic GeometricField class.
Mesh consisting of general polyhedral cells.
const plane & planeDesc() const
Return plane used.
Constructs plane through mesh.
TypeName("sampledPlane")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual const faceList & faces() const
Faces of surface.
virtual label triangulate()
Triangulate in-place, returning the number of triangles added.
A class for managing temporary objects.
const Field< PointType > & points() const
Return reference to global points.
static const word null
An empty word.