diff --git a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C index e824c20e39..bfd6ae083b 100644 --- a/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C +++ b/applications/utilities/parallelProcessing/reconstructParMesh/reconstructParMesh.C @@ -46,6 +46,8 @@ Description #include "mapAddedPolyMesh.H" #include "polyMeshAdder.H" #include "faceCoupleInfo.H" +#include "fvMeshAdder.H" +#include "polyTopoChange.H" using namespace Foam; @@ -203,6 +205,78 @@ autoPtr determineCoupledFaces } +autoPtr mergeSharedPoints +( + const scalar mergeDist, + polyMesh& mesh, + labelListList& pointProcAddressing +) +{ + // Find out which sets of points get merged and create a map from + // mesh point to unique point. + Map