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...
~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.
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.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
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.
Mesh consisting of general polyhedral cells.
labelList getSplitFaces() const
Calculate split faces from current liveCells. Only.
void topoChange(const polyTopoChangeMap &map)
Update stored refinement pattern for changes to mesh. 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.