Go to the documentation of this file.
35 #ifndef meshOctreeCreator_H
36 #define meshOctreeCreator_H
156 const label nTrianglesInLeaf = 15
void setScalingFactor(const scalar)
set the scaling factor
void refineBoxesIntersectingSurfaces()
IOdictionary is derived from dictionary and IOobject to give the dictionary automatic IO functionalit...
scalar scalingFactor_
Scaling factor.
A cube stores information needed for mesh generation.
void setRootCubeSizeAndRefParameters()
set the boundBox such that maxCellSize is achieved
void refineInsideAndUnknownBoxes()
void refineBoxes(const direction refLevel, const direction cubeType)
refine boxes of the given flag to the given size
void createInsideOutsideInformation()
meshOctree & octree_
Reference to meshOctree.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void refineBoxesNearDataBoxes(const label nLayers=1)
refine boxes near DATA boxes to get a nice smooth surface
void operator=(const meshOctreeCreator &)
Disallow default bitwise assignment.
void createOctreeWithRefinedBoundary(const direction maxLevel, const label nTrianglesInLeaf=15)
void createOctreeBoxes()
create octree boxes
direction globalRefLevel_
ref level to achieve max cell size
meshOctreeCreator(const meshOctreeCreator &)
Disallow default bitwise copy construct.
void loadDistribution(const bool distributeUsed=false)
List< DynList< std::pair< direction, scalar > > > surfRefLevel_
this list contains ref level for each surface triangle
const IOdictionary * meshDictPtr_
Dictionary containing information necessary to perform refinement.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void refineBoxesIntersectingEdgeMeshes()
void refineBoxesContainedInObjects()
refine boxes contained inside the objects for refinement
void activateHexRefinement()
bool hexRefinement_
hex refinement flag