|
|
|
undoableMeshCutter Class ReferenceThe main refinement handler. Gets cellCuts which is structure that describes which cells are to be cut and in what way. Maintains an undo list (if told so during construction). Apart from undo list is just wrapper around meshCutter. More...
Inheritance diagram for undoableMeshCutter:
![]()
Collaboration diagram for undoableMeshCutter:
![]()
Detailed DescriptionThe main refinement handler. Gets cellCuts which is structure that describes which cells are to be cut and in what way. Maintains an undo list (if told so during construction). Apart from undo list is just wrapper around meshCutter.Undo list: contains a refinement tree (of type splitCell; cell labels are of no consequence) and a list of visible splitCells, i.e. the top of the tree (where the cell labels are valid). Now every cell added gets put on the tree and every updateMesh action updates the labels of visible splitcells. We can now ask this structure for a list of visible split cells or the list of faces between these. These can be passed to removeFaces for actual deletion and we delete the top splitCell and update the now newly visible underlying cells for the new cell number (passed back from removeFaces). NOTE: Undoing note properly tested. Expect it to fail if the faces to be removed cause other faces to be additionally removed (i.e. removeFaces adds additional faces to remove).
Definition at line 89 of file undoableMeshCutter.H. Constructor & Destructor Documentation
Construct from mesh and flag whether refinement pattern needs. to be stored. Definition at line 177 of file undoableMeshCutter.C.
Definition at line 195 of file undoableMeshCutter.C.
Member Function Documentation
Runtime type information.
All current live split cells. Warning: cell labels will change. during morphing. Only this map is guaranteed to hold uptodate info. Definition at line 163 of file undoableMeshCutter.H.
Definition at line 168 of file undoableMeshCutter.H.
Refine cells acc. to cellCuts. Plays topology changes. into polyTopoChange. Reimplemented from meshCutter. Definition at line 230 of file undoableMeshCutter.C.
Update stored refinement pattern for changes to mesh. Only. call if undoable set. Reimplemented from meshCutter. Definition at line 325 of file undoableMeshCutter.C. References Foam::endl(), and Foam::Pout.
Here is the call graph for this function:
![]()
Calculate split faces from current liveCells. Only. call if undoable set. Definition at line 343 of file undoableMeshCutter.C.
Like getSplitFaces but returns map from original to added cell. Only call if undoable set. Definition at line 402 of file undoableMeshCutter.C.
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. important: Redo search since ownFind entry deleted. Definition at line 449 of file undoableMeshCutter.C.
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||