Go to the documentation of this file.
67 #ifndef undoableMeshCutter_H
68 #define undoableMeshCutter_H
ClassName("undoableMeshCutter")
Runtime type information.
void updateMesh(const mapPolyMesh &morphMap)
Update stored refinement pattern for changes to mesh. Only.
const bool undoable_
Whether or not to store actions for unplaying.
labelList getSplitFaces() const
Calculate split faces from current liveCells. Only.
Map< splitCell * > liveSplitCells_
Current split cells which are 'visible'. Only set if undoable.
void operator=(const undoableMeshCutter &)
Disallow default bitwise assignment.
label sharedFace(const label cell0I, const label cell1I) const
Find shared face between two cells.
A class for handling words, derived from string.
~undoableMeshCutter()
Destructor.
labelList removeSplitFaces(const labelList &splitFaces, polyTopoChange &)
Remove some refinement. Needs to be supplied subset of.
Direct mesh changes based on v1.3 polyTopoChange syntax.
A HashTable to objects of type <T> with a label key.
static void updateLabels(const labelList &map, Map< splitCell * > &)
Update labels on splitCell structure after morphing.
Map< label > getAddedCells() const
Like getSplitFaces but returns map from original to added cell.
Mesh consisting of general polyhedral cells.
void printCellRefTree(Ostream &os, const word &, const splitCell *) const
Debug print.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
const removeFaces & faceRemover() const
undoableMeshCutter(const undoableMeshCutter &)
Disallow default bitwise copy construct.
void printRefTree(Ostream &os) const
Debug print.
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
removeFaces faceRemover_
Face remover engine.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
void setRefinement(const cellCuts &cuts, polyTopoChange &)
Refine cells acc. to cellCuts. Plays topology changes.
const Map< splitCell * > & liveSplitCells() const
All current live split cells. Warning: cell labels will change.
The main refinement handler. Gets cellCuts which is structure that describes which cells are to be cu...
Description of cuts across cells.
const polyMesh & mesh() const