40 #ifndef cuttingSurface_H 41 #define cuttingSurface_H 114 const word& defaultSurfaceName,
129 return surfPtr_->name();
const word & surfaceName() const
The name of the underlying searchableSurface.
virtual ~cuttingSurface()=default
Destructor.
void print(Ostream &os, int level=0) const
Print information.
cuttingSurface(const polyMesh &mesh, const word &surfaceType, const word &surfaceName)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Base for creating a MeshedSurface by performing some type of cell cutting/intersection.
Cell-face mesh analysis engine.
Description of cuts across cells.
A class for handling words, derived from Foam::string.
surfaceTopo surfaceType() const
Calculate surface type formed by patch.
virtual void performCut(const primitiveMesh &mesh, const bool triangulate, const labelUList &cellIdLabels)
Cut mesh, restricted to a list of cells.
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...
OBJstream os(runTime.globalPath()/outputName)
virtual void performCut(const primitiveMesh &mesh, const bool triangulate, bitSet &&cellIdLabels)
Cut mesh, restricted to a list of cells.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Mesh data needed to do the Finite Volume discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
Constructs a cutting surface through a mesh.