67#ifndef undoableMeshCutter_H
68#define undoableMeshCutter_H
101 const bool undoable_;
151 const bool undoable =
true
168 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
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Mesh consisting of general polyhedral cells.
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 it split in....
The main refinement handler. Gets cellCuts which is structure that describes which cells are to be cu...
labelList getSplitFaces() const
Calculate split faces from current liveCells. Only.
const removeFaces & faceRemover() const
~undoableMeshCutter()
Destructor.
ClassName("undoableMeshCutter")
Runtime type information.
Map< label > getAddedCells() const
Like getSplitFaces but returns map from original to added cell.
void updateMesh(const mapPolyMesh &morphMap)
Update stored refinement pattern for changes to mesh. Only.
const Map< splitCell * > & liveSplitCells() const
All current live split cells. Warning: cell labels will change.
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 Foam::string.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
OBJstream os(runTime.globalPath()/outputName)