Public Member Functions | Static Public Member Functions | List of all members
localPointRegion Class Reference

Takes mesh with 'baffles' (= boundary faces sharing points). Determines for selected points on boundary faces the 'point region' it is connected to. Each region can be visited by a cell-face-cell walk. Used in duplicating points after splitting baffles. More...

Public Member Functions

 ClassName ("localPointRegion")
 
 localPointRegion (const polyMesh &mesh)
 
 localPointRegion (const polyMesh &mesh, const labelList &candidatePoints)
 
 localPointRegion (const polyMesh &mesh, const labelPairList &baffles, const labelList &candidatePoints)
 
const Map< label > & meshPointMap () const
 
const labelListListpointRegions () const
 
const Map< label > & meshFaceMap () const
 
const faceListfaceRegions () const
 
void updateMesh (const mapPolyMesh &)
 

Static Public Member Functions

static labelList findDuplicateFaces (const primitiveMesh &, const labelList &)
 
static labelPairList findDuplicateFacePairs (const polyMesh &)
 

Detailed Description

Takes mesh with 'baffles' (= boundary faces sharing points). Determines for selected points on boundary faces the 'point region' it is connected to. Each region can be visited by a cell-face-cell walk. Used in duplicating points after splitting baffles.

Regions are not consecutive per processor. They will be -1..nRegions_.

Note: coupled boundaries (cyclics, parallel) not fully tested.

Source files

Definition at line 65 of file localPointRegion.H.

Constructor & Destructor Documentation

◆ localPointRegion() [1/3]

localPointRegion ( const polyMesh mesh)

Definition at line 455 of file localPointRegion.C.

References coupled(), forAll, mesh, PrimitivePatch< FaceList, PointField >::meshPoints(), and patches.

Here is the call graph for this function:

◆ localPointRegion() [2/3]

localPointRegion ( const polyMesh mesh,
const labelList candidatePoints 
)

Definition at line 486 of file localPointRegion.C.

References forAll, mesh, and primitiveMesh::nPoints().

Here is the call graph for this function:

◆ localPointRegion() [3/3]

localPointRegion ( const polyMesh mesh,
const labelPairList baffles,
const labelList candidatePoints 
)

Definition at line 509 of file localPointRegion.C.

References forAll, mesh, and primitiveMesh::nPoints().

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "localPointRegion"  )

◆ findDuplicateFaces()

Foam::labelList findDuplicateFaces ( const primitiveMesh mesh,
const labelList boundaryFaces 
)
static

◆ findDuplicateFacePairs()

Foam::List< Foam::labelPair > findDuplicateFacePairs ( const polyMesh mesh)
static

◆ meshPointMap()

const Map<label>& meshPointMap ( ) const
inline

Definition at line 171 of file localPointRegion.H.

◆ pointRegions()

const labelListList& pointRegions ( ) const
inline

Definition at line 177 of file localPointRegion.H.

◆ meshFaceMap()

const Map<label>& meshFaceMap ( ) const
inline

Definition at line 183 of file localPointRegion.H.

◆ faceRegions()

const faceList& faceRegions ( ) const
inline

Definition at line 189 of file localPointRegion.H.

◆ updateMesh()

void updateMesh ( const mapPolyMesh map)

Definition at line 677 of file localPointRegion.C.

References forAllConstIters(), newPointi, mapPolyMesh::reverseFaceMap(), and mapPolyMesh::reversePointMap().

Here is the call graph for this function:

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