Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
regionSide Class Reference

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...

Collaboration diagram for regionSide:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("regionSide")
 Runtime type information. More...
 
 regionSide (const primitiveMesh &mesh, const labelHashSet &region, const labelHashSet &fenceEdges, const label startCell, const label startFace)
 Construct from components. More...
 
const labelHashSetsideOwner () const
 
const labelHashSetinsidePointFaces () 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 &region, 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 &regionEdges, 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 &regionFaces, 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...
 

Detailed Description

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.

Determines:

Source files

Definition at line 61 of file regionSide.H.

Constructor & Destructor Documentation

◆ regionSide()

regionSide ( const primitiveMesh mesh,
const labelHashSet region,
const labelHashSet fenceEdges,
const label  startCell,
const label  startFace 
)

Construct from components.

Member Function Documentation

◆ otherEdge()

static label otherEdge ( const primitiveMesh mesh,
const label  faceI,
const label  edgeI,
const label  pointI 
)
staticprivate

Step across point to other edge on face.

◆ visitConnectedFaces()

void visitConnectedFaces ( const primitiveMesh mesh,
const labelHashSet region,
const labelHashSet fenceEdges,
const label  cellI,
const label  faceI,
labelHashSet visitedFace 
)
private

From faceI, side cellI, cross to other faces/cells by.

face-cell walking and store visited faces and update sideOwner_.

◆ walkPointConnectedFaces()

void walkPointConnectedFaces ( const primitiveMesh mesh,
const labelHashSet regionEdges,
const label  regionPointI,
const label  startFaceI,
const label  startEdgeI,
labelHashSet visitedEdges 
)
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

◆ walkAllPointConnectedFaces()

void walkAllPointConnectedFaces ( const primitiveMesh mesh,
const labelHashSet regionFaces,
const labelHashSet fenceEdges 
)
private

Visits all internal points on region and marks edges reachable.

from sideOwner side (using walkPointConnectedFaces)

◆ ClassName()

ClassName ( "regionSide"  )

Runtime type information.

◆ otherFace()

static label otherFace ( const primitiveMesh mesh,
const label  cellI,
const label  excludeFaceI,
const label  edgeI 
)
static

Step across edge onto other face on cell.

◆ sideOwner()

const labelHashSet& sideOwner ( ) const
inline

Definition at line 152 of file regionSide.H.

References regionSide::sideOwner_.

◆ insidePointFaces()

const labelHashSet& insidePointFaces ( ) const
inline

Definition at line 157 of file regionSide.H.

References regionSide::insidePointFaces_.

Field Documentation

◆ sideOwner_

labelHashSet sideOwner_
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().

◆ insidePointFaces_

labelHashSet insidePointFaces_
private

Contains the faces using an internal point and visited face.

Definition at line 70 of file regionSide.H.

Referenced by regionSide::insidePointFaces().


The documentation for this class was generated from the following file: