67#ifndef undoableMeshCutter_H
68#define undoableMeshCutter_H
94class undoableMeshCutter
101 const bool undoable_;
132 undoableMeshCutter(
const undoableMeshCutter&) =
delete;
135 void operator=(
const undoableMeshCutter&) =
delete;
148 explicit undoableMeshCutter
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.
Container with cells to refine. Refinement given as single direction.
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....
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)
List< label > labelList
A List of labels.
Basic run-time type information using word as the type's name. Used to enhance the standard RTTI to c...