67 #ifndef undoableMeshCutter_H 68 #define undoableMeshCutter_H 101 const bool undoable_;
117 void printRefTree(
Ostream& os)
const;
161 return liveSplitCells_;
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
~undoableMeshCutter()
Destructor.
The main refinement handler. Gets cellCuts which is structure that describes which cells are to be cu...
const removeFaces & faceRemover() const
ClassName("undoableMeshCutter")
Runtime type information.
Description of cuts across cells.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
undoableMeshCutter(const polyMesh &mesh, const bool undoable=true)
Construct from mesh and flag whether refinement pattern needs.
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in...
A class for handling words, derived from string.
void setRefinement(const cellCuts &cuts, polyTopoChange &)
Refine cells acc. to cellCuts. Plays topology changes.
Map< label > getAddedCells() const
Like getSplitFaces but returns map from original to added cell.
const polyMesh & mesh() const
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void operator=(const undoableMeshCutter &)=delete
Disallow default bitwise assignment.
labelList removeSplitFaces(const labelList &splitFaces, polyTopoChange &)
Remove some refinement. Needs to be supplied subset of.
Direct mesh changes based on v1.3 polyTopoChange syntax.
void updateMesh(const mapPolyMesh &morphMap)
Update stored refinement pattern for changes to mesh. Only.
Mesh consisting of general polyhedral cells.
labelList getSplitFaces() const
Calculate split faces from current liveCells. Only.
const Map< splitCell * > & liveSplitCells() const
All current live split cells. Warning: cell labels will change.
A HashTable to objects of type <T> with a label key.