const polyMesh & mesh_
Reference to mesh.
Given list of cells to remove insert all the topology changes.
Direct mesh changes based on v1.3 polyTopoChange syntax.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
Mesh consisting of general polyhedral cells.
ClassName("removeCells")
Runtime type information.
void setRefinement(const labelList &cellsToRemove, const labelList &facesToExpose, const labelList &patchIDs, polyTopoChange &) const
Play commands into polyTopoChange to remove cells.
const bool syncPar_
Whether or not to synchronize parallel case.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
removeCells(const polyMesh &mesh, const bool syncPar=true)
Construct from mesh. syncPar: do parallel synchronization.
static void uncount(const labelList &f, labelList &nUsage)
Decrease count of elements of f.
labelList getExposedFaces(const labelList &cellsToRemove) const
Get labels of exposed faces.