Determines the 'side' for every face and connected to a singly-connected (through edges) region of faces. Gets set of faces and a list of mesh edges ('fenceEdges') which should not be crossed. Used in splitting a mesh region. More...
Public Member Functions | |
ClassName ("regionSide") | |
Runtime type information. More... | |
regionSide (const primitiveMesh &mesh, const labelHashSet ®ion, const labelHashSet &fenceEdges, const label startCell, const label startFace) | |
Construct from components. More... | |
const labelHashSet & | sideOwner () const |
const labelHashSet & | insidePointFaces () const |
Static Public Member Functions | |
static label | otherFace (const primitiveMesh &mesh, const label cellI, const label excludeFaceI, const label edgeI) |
Step across edge onto other face on cell. More... | |
Private Member Functions | |
void | visitConnectedFaces (const primitiveMesh &mesh, const labelHashSet ®ion, const labelHashSet &fenceEdges, const label cellI, const label faceI, labelHashSet &visitedFace) |
From faceI, side cellI, cross to other faces/cells by. More... | |
void | walkPointConnectedFaces (const primitiveMesh &mesh, const labelHashSet ®ionEdges, const label regionPointI, const label startFaceI, const label startEdgeI, labelHashSet &visitedEdges) |
From edge on face connected to point on region (regionPointI) cross. More... | |
void | walkAllPointConnectedFaces (const primitiveMesh &mesh, const labelHashSet ®ionFaces, const labelHashSet &fenceEdges) |
Visits all internal points on region and marks edges reachable. More... | |
Static Private Member Functions | |
static label | otherEdge (const primitiveMesh &mesh, const label faceI, const label edgeI, const label pointI) |
Step across point to other edge on face. More... | |
Private Attributes | |
labelHashSet | sideOwner_ |
For every face on region tells whether the owner is on the. More... | |
labelHashSet | insidePointFaces_ |
Contains the faces using an internal point and visited face. More... | |
Determines the 'side' for every face and connected to a singly-connected (through edges) region of faces. Gets set of faces and a list of mesh edges ('fenceEdges') which should not be crossed. Used in splitting a mesh region.
Definition at line 61 of file regionSide.H.
regionSide | ( | const primitiveMesh & | mesh, |
const labelHashSet & | region, | ||
const labelHashSet & | fenceEdges, | ||
const label | startCell, | ||
const label | startFace | ||
) |
Construct from components.
|
staticprivate |
Step across point to other edge on face.
|
private |
From faceI, side cellI, cross to other faces/cells by.
face-cell walking and store visited faces and update sideOwner_.
|
private |
From edge on face connected to point on region (regionPointI) cross.
to all other edges using this point by walking across faces Does not cross regionEdges so stays on one side of region
|
private |
Visits all internal points on region and marks edges reachable.
from sideOwner side (using walkPointConnectedFaces)
ClassName | ( | "regionSide" | ) |
Runtime type information.
|
static |
Step across edge onto other face on cell.
|
inline |
Definition at line 152 of file regionSide.H.
References regionSide::sideOwner_.
|
inline |
Definition at line 157 of file regionSide.H.
References regionSide::insidePointFaces_.
|
private |
For every face on region tells whether the owner is on the.
'regionside'.
Definition at line 67 of file regionSide.H.
Referenced by regionSide::sideOwner().
|
private |
Contains the faces using an internal point and visited face.
Definition at line 70 of file regionSide.H.
Referenced by regionSide::insidePointFaces().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.