Given list of cells to remove, insert all the topology changes. More...
Public Member Functions | |
ClassName ("removeCells") | |
Runtime type information. More... | |
removeCells (const polyMesh &mesh, const bool syncPar=true) | |
Construct from mesh. Parallel synchronized by default. More... | |
~removeCells ()=default | |
Destructor. More... | |
labelList | getExposedFaces (const bitSet &removedCell) const |
Get labels of faces exposed after cells removal. More... | |
labelList | getExposedFaces (const labelUList &cellsToRemove) const |
Get labels of faces exposed after cells removal. More... | |
void | setRefinement (const bitSet &removedCell, const labelUList &facesToExpose, const labelUList &patchIDs, polyTopoChange &) const |
Play commands into polyTopoChange to remove cells. More... | |
void | setRefinement (const labelUList &cellsToRemove, const labelUList &facesToExpose, const labelUList &patchIDs, polyTopoChange &) const |
Play commands into polyTopoChange to remove cells. More... | |
void | updateMesh (const mapPolyMesh &) |
Force recalculation of locally stored data on topological change. More... | |
Given list of cells to remove, insert all the topology changes.
Definition at line 59 of file removeCells.H.
|
explicit |
Construct from mesh. Parallel synchronized by default.
Definition at line 67 of file removeCells.C.
|
default |
Destructor.
ClassName | ( | "removeCells" | ) |
Runtime type information.
Foam::labelList getExposedFaces | ( | const bitSet & | removedCell | ) | const |
Get labels of faces exposed after cells removal.
These are
Definition at line 77 of file removeCells.C.
References List< T >::append(), DynamicList< T, SizeMin >::append(), forAll, patches, pp(), syncTools::syncBoundaryFaceList(), and Foam::Zero.
Referenced by fvMeshSubsetter::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 473 of file removeCells.C.
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 181 of file removeCells.C.
References Foam::abort(), coupled, Foam::endl(), f(), Foam::FatalError, FatalErrorInFunction, faceZone::flipMap(), forAll, IOobject::name(), Foam::nl, patches, pp(), polyTopoChange::setAction(), UList< T >::size(), UPtrList< T >::size(), WarningInFunction, faceZone::whichFace(), ZoneMesh< ZoneType, MeshType >::whichZone(), and Foam::Zero.
Referenced by meshRefinement::doRemoveCells().
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 484 of file removeCells.C.
|
inline |
Force recalculation of locally stored data on topological change.
Definition at line 149 of file removeCells.H.
Referenced by meshRefinement::doRemoveCells().