Go to the documentation of this file.
42 #ifndef localPointRegion_H
43 #define localPointRegion_H
static bool isDuplicate(const face &f0, const face &f1, const bool forward)
Check if two faces are equal. If forward = false checks f1 in.
Map< label > meshPointMap_
Per point that is to duplicated to the local index.
Takes mesh with 'baffles' (= boundary faces sharing points). Determines for selected points on bounda...
labelListList pointRegions_
Per local point the regions it is in.
void calcPointRegions(const polyMesh &mesh, const labelPairList &baffles, boolList &candidatePoint)
Do all: calculate points that need to be duplicated.
Mesh consisting of general polyhedral cells.
localPointRegion(const polyMesh &mesh)
Construct from mesh. Assumes all non-coupled boundary points.
void countPointRegions(const polyMesh &mesh, const boolList &candidatePoint, const Map< label > &candidateFace, faceList &minRegion)
Given minimum cell the points on a face are connected to.
Map< label > meshFaceMap_
Per face that uses a duplicated point the local index.
static labelList findDuplicateFaces(const primitiveMesh &, const labelList &)
Helper routine to find baffles (two boundary faces using the.
ClassName("localPointRegion")
Runtime type information.
const labelListList & pointRegions() const
Per local point the regions it is in.
void updateMesh(const mapPolyMesh &)
Force recalculation of locally stored data on topological change.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
A face is a list of labels corresponding to mesh vertices.
const Map< label > & meshPointMap() const
Per point that is to be duplicated the local index.
const Map< label > & meshFaceMap() const
Per face that uses a duplicated point the local index.
faceList faceRegions_
Per face the region of its points.
static labelPairList findDuplicateFacePairs(const polyMesh &)
Helper routine to find all baffles (two boundary faces.
Cell-face mesh analysis engine.
const faceList & faceRegions() const
Per face the region of its points.