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