OpenFOAM logo
Open Source CFD Toolkit

undoableMeshCutter Class Reference

Inheritance diagram for undoableMeshCutter:

Inheritance graph
[legend]
Collaboration diagram for undoableMeshCutter:

Collaboration graph
[legend]
List of all members.

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 removeFacesfaceRemover () 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< labelgetAddedCells () 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.

Constructor & Destructor Documentation

undoableMeshCutter const polyMesh mesh,
const bool  undoable = true
 

Construct from mesh and flag whether refinement pattern needs.

to be stored.

~undoableMeshCutter  ) 
 


Member Function Documentation

ClassName "undoableMeshCutter"   ) 
 

Runtime type information.

const removeFaces& faceRemover  )  const [inline]
 

Definition at line 180 of file undoableMeshCutter.H.

References Foam::labelList.

Map<label> getAddedCells  )  const
 

Like getSplitFaces but returns map from original to added cell.

Only call if undoable set.

labelList getSplitFaces  )  const
 

Calculate split faces from current liveCells. Only.

call if undoable set.

const Map<splitCell*>& liveSplitCells  )  const [inline]
 

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.

labelList removeSplitFaces const labelList splitFaces,
polyTopoChange
 

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.

void setRefinement const cellCuts cuts,
polyTopoChange
 

Refine cells acc. to cellCuts. Plays topology changes.

into polyTopoChange.

Reimplemented from meshCutter.

void updateMesh const mapPolyMesh morphMap  ) 
 

Update stored refinement pattern for changes to mesh. Only.

call if undoable set.

Reimplemented from meshCutter.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org