From d8c44047bf9445b8b2d24e5e2ef16985af185c2a Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 14 Oct 2008 17:05:21 +0100 Subject: [PATCH] point merging --- .../reconstructParMesh/reconstructParMesh.C | 121 ++++++++++++++---- 1 file changed, 99 insertions(+), 22 deletions(-) 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