Go to the documentation of this file.
67 #ifndef undoableMeshCutter_H
68 #define undoableMeshCutter_H
101 const bool undoable_;
151 const bool undoable =
true
168 return liveSplitCells_;
ClassName("undoableMeshCutter")
Runtime type information.
void updateMesh(const mapPolyMesh &morphMap)
Update stored refinement pattern for changes to mesh. Only.
labelList getSplitFaces() const
Calculate split faces from current liveCells. Only.
A class for handling words, derived from Foam::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.
Map< label > getAddedCells() const
Like getSplitFaces but returns map from original to added cell.
Mesh consisting of general polyhedral cells.
Given list of faces to remove insert all the topology changes. Contains helper function to get consis...
const removeFaces & faceRemover() const
OBJstream os(runTime.globalPath()/outputName)
Description of cell after splitting. Contains cellLabel and pointers to cells it it split in....
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