Go to the documentation of this file.
36 #ifndef meshOctreeAddressing_H
37 #define meshOctreeAddressing_H
223 bool useDATABoxes =
false
labelLongList * globalPointLabelPtr_
global octree point label
void checkGluedRegions()
check if distinct parts are glued together
void calculateNodeFaces() const
calculate node-faces addressing
VRWGraph * leafEdgesPtr_
leaf-edges addressing
VRWGraph * nodeEdgesPtr_
node-edges addressing
labelLongList * globalFaceLabelPtr_
global octree face label
const List< direction > & nodeType() const
return type of node (INNERNODE,or OUTERNODE)
Map< label > * globalPointToLocalPtr_
global point to local label addressing
VRWGraph * faceEdgesPtr_
face-edges addressing
void checkAndFixIrregularConnections()
VRWGraph * leafLeavesPtr_
leaf-leaves addressing
bool useDATABoxes_
use DATA boxes
void cubesAroundEdge(const label leafI, const direction eI, FixedList< label, 4 > &edgeCubes) const
find cubes around an edge (cubes must be at the same level)
labelLongList * octreeFacesNeighboursPtr_
const VRWGraph & nodeLabels() const
return nodeLabels
void clearOut()
Clear allocated data.
void createOctreeFaces() const
calculate faces
void findUsedBoxes() const
assemble boxTypePtr_ list
pointField * octreePointsPtr_
coordinates of octree nodes
void operator=(const meshOctreeAddressing &)
Disallow default bitwise assignment.
void calcGlobalLeafLabels() const
VRWGraph * edgeFacesPtr_
edge-faces addressing
const VRWGraph & pointAtProcs() const
processors which contain an octree point
void createNodeLabels() const
calculate nodeLabelsPtr_
labelLongList * globalLeafLabelPtr_
global leaf label
const Map< label > & globalToLocalLeafAddressing() const
return global leaf label to local label addressing
void clearNodeAddressing()
labelLongList * octreeFacesOwnersPtr_
const labelLongList & octreeFaceOwner() const
return owners of octree faces
void calcGlobalPointLabels() const
List< direction > * nodeTypePtr_
identify created nodes as OUTERNODE or INNERNODE
const VRWGraph & faceAtProcs() const
return processors which contain each octree face
const dictionary & meshDict_
reference to the dictionary
void clearParallelAddressing()
void calculateEdgeLeaves() const
calculate edge-leaves addressing
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
const VRWGraph & leafAtProcs() const
return processors which contain each octree leaf
bool isIntersectedFace(const label fI) const
checks if the face is intersected by the surface
void setBoxType(const label boxI, const direction type)
set box type
List< direction > * boxTypePtr_
identify which boxes should be used as mesh cells
FRWGraph< label, 8 > * nodeLeavesPtr_
node leaves
void createOctreePoints() const
calculate octreePointsPtr_
void calculateLeafEdges() const
calculate leaf-edges
A list of keyword definitions, which are a keyword followed by any number of values (e....
const VRWGraph & nodeFaces() const
return node-faces addressing
void createOctreeEdges() const
calculate edges
const VRWGraph & edgeLeaves() const
return edge-leaves addressing
const VRWGraph & leafFaces() const
return octree box-faces addressing
const labelLongList & globalPointLabel() const
return global point labels
void createNodeLeaves() const
calculate nodeLeavesPtr_
void calculateLeafLeaves() const
calculate leaf-leaves addressing
const VRWGraph & faceEdges() const
return face-edges addressing
const labelLongList & octreeFaceNeighbour() const
return neighbours of octree faces
LongList< edge > * octreeEdgesPtr_
edges of the octree
Map< label > * globalFaceToLocalPtr_
global face label to local label addressing
VRWGraph * pointProcsPtr_
point-processors addressing
VRWGraph * faceProcsPtr_
face-processors addressing
const labelLongList & globalFaceLabel() const
return global labels of octree faces
VRWGraph * octreeFacesPtr_
faces of the octree
const List< direction > & boxType() const
return which octree boxes are used for mesh creation
label nNodes_
number of created octree nodes
const meshOctree & octree() const
return const reference to meshOctree
meshOctreeAddressing(const meshOctreeAddressing &)
Disallow default bitwise copy construct.
const VRWGraph & leafLeaves() const
return leaf-leaves addressing
void calculateNodeType() const
calculate nodeTypePtr_
VRWGraph * edgeLeavesPtr_
edges-leaves addressing
const Map< label > & globalToLocalFaceAddressing() const
return global face label to face label. Only for processor faces
void calculateEdgeFaces() const
calculate edge-faces
VRWGraph * nodeFacesPtr_
node-faces addressing
const labelLongList & globalLeafLabel() const
return global labels of octree leaves
const LongList< edge > & octreeEdges() const
return octree edges, created for MESHCELL boxes
Octree for mesh generation.
bool isIntersectedEdge(const label eI) const
checks if the edge is intersected by the surface
Map< label > * globalLeafToLocalPtr_
global leaf label to local label addressing for octree leaves
VRWGraph * nodeLabelsPtr_
node labels
const pointField & octreePoints() const
return coordinates of octree vertices
const VRWGraph & nodeEdges() const
return node-edges addressing
const FRWGraph< label, 8 > & nodeLeaves() const
return nodeLeaves
const VRWGraph & octreeFaces() const
return octree faces, created for MESHCELL boxes
label numberOfNodes() const
return number of octree nodes
label findEdgeCentre(const label leafI, const direction eI) const
find edge centre if it exists
const meshOctree & octree_
reference to the octree
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const VRWGraph & leafEdges() const
return leaf-edges addressing
void calculateLeafFaces() const
calculate leaf-faces addressing
void calcGlobalFaceLabels() const
VRWGraph * leafAtProcsPtr_
leaf at procs
void edgeIntersections(const label eI, DynList< point > &intersections) const
const Map< label > & globalToLocalPointAddressing() const
global point label to local label. Only for processors points
const VRWGraph & edgeFaces() const
return edge-faces addressing
VRWGraph * leafFacesPtr_
octree box-faces addressing