32void Foam::enrichedPatch::completePointMap()
const
34 if (pointMapComplete_)
37 <<
"Point map already completed"
41 pointMapComplete_ =
true;
49 const labelList& masterMeshPoints = masterPatch_.meshPoints();
50 const pointField& masterLocalPoints = masterPatch_.localPoints();
52 forAll(masterMeshPoints, pointi)
54 if (!pmm.found(masterMeshPoints[pointi]))
58 masterMeshPoints[pointi],
59 masterLocalPoints[pointi]
65 const labelList& slaveMeshPoints = slavePatch_.meshPoints();
66 const pointField& slaveLocalPoints = slavePatch_.localPoints();
68 forAll(slaveMeshPoints, pointi)
70 if (!pmm.found(slaveMeshPoints[pointi]))
74 slaveMeshPoints[pointi],
75 slaveLocalPoints[pointi]
const Map< label > & pointMergeMap() const
Return map of point merges.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
List< label > labelList
A List of labels.
errorManip< error > abort(error &err)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
vectorField pointField
pointField is a vectorField.
#define forAll(list, i)
Loop across all elements in list.