35void Foam::enrichedPatch::calcPointPoints()
const
41 <<
"Point-point addressing already calculated."
49 List<DynamicList<label>> pp(
meshPoints().size());
53 for (
const face& curFace : lf)
57 DynamicList<label>& curPp = pp[curFace[pointi]];
60 const label next = curFace.nextLabel(pointi);
61 curPp.appendUniq(next);
64 const label prev = curFace.prevLabel(pointi);
65 curPp.appendUniq(prev);
71 auto& ppAddr = *pointPointsPtr_;
75 ppAddr[pointi].transfer(pp[pointi]);
const faceList & localFaces() const
Return local faces.
const labelList & meshPoints() const
Return mesh points.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< labelList > labelListList
A List of labelList.
errorManip< error > abort(error &err)
List< face > faceList
A List of faces.
#define forAll(list, i)
Loop across all elements in list.