![]() |
|
Public Member Functions | |
ClassName ("undoableMeshCutter") | |
Runtime type information. | |
undoableMeshCutter (const polyMesh &mesh, const bool undoable=true) | |
Construct from mesh and flag whether refinement pattern needs. | |
~undoableMeshCutter () | |
const Map< splitCell * > & | liveSplitCells () const |
All current live split cells. Warning: cell labels will change. | |
const removeFaces & | faceRemover () const |
void | setRefinement (const cellCuts &cuts, polyTopoChange &) |
Refine cells acc. to cellCuts. Plays topology changes. | |
void | updateMesh (const mapPolyMesh &morphMap) |
Update stored refinement pattern for changes to mesh. Only. | |
labelList | getSplitFaces () const |
Calculate split faces from current liveCells. Only. | |
Map< label > | getAddedCells () const |
Like getSplitFaces but returns map from original to added cell. | |
labelList | removeSplitFaces (const labelList &splitFaces, polyTopoChange &) |
Remove some refinement. Needs to be supplied subset of. |
|
Construct from mesh and flag whether refinement pattern needs. to be stored. |
|
|
|
Runtime type information.
|
|
Definition at line 180 of file undoableMeshCutter.H. References Foam::labelList. |
|
Like getSplitFaces but returns map from original to added cell. Only call if undoable set. |
|
Calculate split faces from current liveCells. Only. call if undoable set. |
|
All current live split cells. Warning: cell labels will change. during morphing. Only this map is guaranteed to hold uptodate info. Definition at line 175 of file undoableMeshCutter.H. |
|
Remove some refinement. Needs to be supplied subset of. getSplitFaces() output. Returns list of faces removed (can be more or equal but never less than splitFaces - since removeFaces might decide to take down unnessecary faces) Only call if undoable set. |
|
Refine cells acc. to cellCuts. Plays topology changes. into polyTopoChange. Reimplemented from meshCutter. |
|
Update stored refinement pattern for changes to mesh. Only. call if undoable set. Reimplemented from meshCutter. |