Go to the documentation of this file.
53 #ifndef multiDirRefinement_H
54 #define multiDirRefinement_H
67 class undoableMeshCutter;
void operator=(const multiDirRefinement &)
Disallow default bitwise assignment.
labelList splitOffHex(const primitiveMesh &mesh)
Remove hexes from cellLabels_ and return these in a list.
void refineHex8(polyMesh &mesh, const labelList &hexCells, const bool writeMesh)
Refine cells (hex only) in all 3 directions.
const labelListList & addedCells() const
Access to addedCells (on the original mesh; see above)
Set of directions for each cell in the mesh. Either uniform and size=1 or one set of directions per c...
Mesh consisting of general polyhedral cells.
ClassName("multiDirRefinement")
Runtime type information.
void refineAllDirs(polyMesh &mesh, List< vectorField > &cellDirections, const cellLooper &cellWalker, undoableMeshCutter &cutter, const bool writeMesh)
Refine cells in cellLabels_ in directions mentioned.
Pre-declare SubField and related Field type.
multiDirRefinement(const multiDirRefinement &)
Disallow default bitwise copy construct.
Macro definitions for declaring ClassName(), NamespaceName(), etc.
Abstract base class. Concrete implementations know how to cut a cell (i.e. determine a loop around th...
Does multiple pass refinement to refine cells in multiple directions.
A list of keyword definitions, which are a keyword followed by any number of values (e....
static void update(const Map< label > &, vectorField &)
Given map from original to added cell set the vectorField for.
void refineFromDict(polyMesh &mesh, List< vectorField > &cellDirections, const dictionary &dict, const bool writeMesh)
Refine based on dictionary. Calls refineAllDirs.
static void addCells(const Map< label > &, List< refineCell > &)
Given map from original to added cell set the refineCell for.
labelList cellLabels_
Current set of cells to refine. Extended with added cells.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
labelListList addedCells_
From original to added cells.
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...
Cell-face mesh analysis engine.