35 void Foam::enrichedPatch::calcPointPoints()
const 41 <<
"Point-point addressing already calculated." 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]);
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< labelList > labelListList
List of labelList.
#define forAll(list, i)
Loop across all elements in list.
List< face > faceList
List of faces.
errorManip< error > abort(error &err)
const faceList & localFaces() const
Return local faces.
const labelList & meshPoints() const
Return mesh points.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())