Go to the documentation of this file.
41 #ifndef refinementIterator_H
42 #define refinementIterator_H
58 class undoableMeshCutter;
Map< label > setRefinement(const List< refineCell > &)
Try to refine cells in given direction. Constructs intermediate.
Utility class to do iterating meshCutter until all requests satisfied.
Combines edge or vertex in single label. Used to specify cuts across cell circumference.
Mesh consisting of general polyhedral cells.
ClassName("refinementIterator")
Runtime type information.
Abstract base class. Concrete implementations know how to cut a cell (i.e. determine a loop around th...
const cellLooper & cellWalker_
Reference to object to walk individual cells.
~refinementIterator()
Destructor.
polyMesh & mesh_
Reference to mesh.
undoableMeshCutter & meshRefiner_
Reference to refinementEngine.
bool writeMesh_
Whether to write intermediate meshes.
refinementIterator(polyMesh &mesh, undoableMeshCutter &meshRefiner, const cellLooper &cellWalker, const bool writeMesh=false)
Construct from mesh, refinementEngine and cell walking routine.
void writeMesh(const string &msg, const meshRefinement &meshRefiner, const meshRefinement::debugType debugLevel, const meshRefinement::writeType writeLevel)
The main refinement handler. Gets cellCuts which is structure that describes which cells are to be cu...
const polyMesh & mesh() const