Given list of cells to remove, insert all the topology changes. More...
#include <removeCells.H>
Public Member Functions | |
| ClassName ("removeCells") | |
| Runtime type information. | |
| removeCells (const polyMesh &mesh, const bool syncPar=true) | |
| Construct from mesh. Parallel synchronized by default. | |
| ~removeCells ()=default | |
| Destructor. | |
| labelList | getExposedFaces (const bitSet &removedCell) const |
| Get labels of faces exposed after cells removal. | |
| labelList | getExposedFaces (const labelUList &cellsToRemove) const |
| Get labels of faces exposed after cells removal. | |
| void | setRefinement (const bitSet &removedCell, const labelUList &facesToExpose, const labelUList &patchIDs, polyTopoChange &) const |
| Play commands into polyTopoChange to remove cells. | |
| void | setRefinement (const labelUList &cellsToRemove, const labelUList &facesToExpose, const labelUList &patchIDs, polyTopoChange &) const |
| Play commands into polyTopoChange to remove cells. | |
| void | updateMesh (const mapPolyMesh &) |
| Force recalculation of locally stored data on topological change. | |
Given list of cells to remove, insert all the topology changes.
Works in two passes:
Definition at line 59 of file removeCells.H.
|
explicit |
Construct from mesh. Parallel synchronized by default.
Definition at line 67 of file removeCells.C.
References mesh.
|
default |
Destructor.
References patchIDs.
| ClassName | ( | "removeCells" | ) |
Runtime type information.
References mesh.
| Foam::labelList getExposedFaces | ( | const bitSet & | removedCell | ) | const |
Get labels of faces exposed after cells removal.
These are
Definition at line 76 of file removeCells.C.
References DynamicList< T, SizeMin >::append(), forAll, patches, pp(), syncTools::syncBoundaryFaceList(), and Foam::Zero.
Referenced by fvMeshSubsetter::getExposedFaces(), fvMeshSubsetter::getExposedFaces(), getExposedFaces(), meshRefinement::removeGapCells(), and meshRefinement::splitMeshRegions().


| Foam::labelList getExposedFaces | ( | const labelUList & | cellsToRemove | ) | const |
Get labels of faces exposed after cells removal.
These are
Definition at line 472 of file removeCells.C.
References getExposedFaces().

| void setRefinement | ( | const bitSet & | removedCell, |
| const labelUList & | facesToExpose, | ||
| const labelUList & | patchIDs, | ||
| polyTopoChange & | meshMod ) const |
Play commands into polyTopoChange to remove cells.
patchIDs is for every element in facesToExpose (see above) the patch it has to go into. This cannot be a coupled patch!
Definition at line 180 of file removeCells.C.
References Foam::abort(), coupled, Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), forAll, Foam::nl, patches, pp(), polyTopoChange::setAction(), UList< T >::size(), WarningInFunction, faceZone::whichFace(), ZoneMesh< ZoneType, MeshType >::whichZone(), and Foam::Zero.
Referenced by meshRefinement::doRemoveCells(), and setRefinement().


| void setRefinement | ( | const labelUList & | cellsToRemove, |
| const labelUList & | facesToExpose, | ||
| const labelUList & | patchIDs, | ||
| polyTopoChange & | meshMod ) const |
Play commands into polyTopoChange to remove cells.
patchIDs is for every element in facesToExpose (see above) the patch it has to go into. This cannot be a coupled patch!
Definition at line 483 of file removeCells.C.
References setRefinement().

|
inline |
Force recalculation of locally stored data on topological change.
Definition at line 149 of file removeCells.H.
Referenced by meshRefinement::doRemoveCells().
