ENH: reconstructParMesh: Match face point averages on coupled patches
In the event that matching centroids across a coupled patch pair fails, we fall back to matching the face point average. The latter can be obtained more reliably on degenerate faces as the calculation does not involve division by the face area. This fallback was already implemented as part of processorPolyPatch. This change also applies it to the faceCoupleInfo class used by reconstructParMesh.
Showing
- src/dynamicMesh/polyMeshAdder/faceCoupleInfo.C 38 additions, 3 deletionssrc/dynamicMesh/polyMeshAdder/faceCoupleInfo.C
- src/dynamicMesh/polyMeshAdder/faceCoupleInfo.H 11 additions, 1 deletionsrc/dynamicMesh/polyMeshAdder/faceCoupleInfo.H
- src/dynamicMesh/polyMeshAdder/faceCoupleInfoTemplates.C 26 additions, 1 deletionsrc/dynamicMesh/polyMeshAdder/faceCoupleInfoTemplates.C
Please register or sign in to comment