1 //void volPointInterpolation::makeBoundaryAddressing() const
4 // Go through all patches and mark up the external edge points
5 labelHashSet pointsCorrectionMap(max(mesh.nPoints()/10, 100));
7 const fvBoundaryMesh& bm = mesh.boundary();
11 // If the patch is empty, skip it
12 // If the patch is coupled, and there are no cyclic parallels, skip it
15 !isA<emptyFvPatch>(bm[patchI])
18 //&& Pstream::parRun()
19 //&& !mesh.parallelData().cyclicParallel()
23 const labelList& bp = bm[patchI].patch().boundaryPoints();
25 const labelList& meshPoints = bm[patchI].patch().meshPoints();
29 pointsCorrectionMap.insert(meshPoints[bp[pointI]]);
34 // Grab the points to correct
35 //boundaryPointsPtr_ = new labelList(pointsCorrectionMap.toc());
36 //labelList& ptc = *boundaryPointsPtr_;
37 labelList ptc(pointsCorrectionMap.toc());