Go to the documentation of this file.
43 const bool triangulate,
47 bitSet subsetCells(cellIdLabels);
49 performCut(
mesh, triangulate, std::move(subsetCells));
56 const bool triangulate,
66 subsetCells.
set(cellIdLabels);
69 performCut(
mesh, triangulate, std::move(subsetCells));
98 static_cast<Mesh&
>(*this) = rhs;
void resize(const label numElem, const unsigned int val=0u)
Reset addressable list size, does not shrink the allocated size.
const labelList & meshCells() const
The mesh cells cut.
Pair< int > faceMap(const label facePi, const face &faceP, const label faceNi, const face &faceN)
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
int debugSwitch(const char *name, const int deflt=0)
Lookup debug switch or add default value.
void set(const bitSet &bitset)
Set specified bits from another bitset.
#define forAll(list, i)
Loop across all elements in list.
virtual void remapFaces(const labelUList &faceMap)
Remap action on triangulation or cleanup.
void transfer(List< T > &list)
bool notNull(const T *ptr)
True if ptr is not a pointer (of type T) to the nullObject.
static int debug
Debug information.
Base for creating a MeshedSurface by performing some type of cell cutting/intersection.
void operator=(const cuttingSurfaceBase &rhs)
Copy assignment.
virtual void performCut(const primitiveMesh &mesh, const bool triangulate, const labelUList &cellIdLabels)
Cut mesh, restricted to a list of cells.
labelList meshCells_
List of the cells cut.
virtual void remapFaces(const labelUList &faceMapNewToOld)
Set new zones from faceMap.
Cell-face mesh analysis engine.