39 #ifndef patchPatchDist_H 40 #define patchPatchDist_H
const scalarField & y() const
virtual ~patchPatchDist()=default
Destructor.
patchPatchDist(const polyPatch &pp, const labelHashSet &nbrPatchIDs)
Construct from patch and neighbour patches.
virtual void correct()
Correct for mesh geom/topo changes.
A patch is a list of labels that address the faces in the global face list.
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
Like wallDist but calculates on a patch the distance to nearest neighbouring patches. Uses PatchEdgeFaceWave to do actual calculation.