From c334892d403dfa9d7e0482eceb6c277f25542ef7 Mon Sep 17 00:00:00 2001 From: mattijs Date: Tue, 14 Oct 2008 17:21:24 +0100 Subject: [PATCH] use point merge information --- .../fvMeshDistribute/fvMeshDistribute.C | 49 ++++++++++++------- 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C index 25746f43a0..c181d2d5c1 100644 --- a/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C +++ b/src/dynamicMesh/fvMeshDistribute/fvMeshDistribute.C @@ -586,8 +586,8 @@ Foam::autoPtr Foam::fvMeshDistribute::repatch "fvMeshDistribute::repatch(const labelList&, labelListList&)" ) << "reverseFaceMap contains -1 at index:" << index << endl - << "This means that the repatch operation was not just a shuffle?" - << abort(FatalError); + << "This means that the repatch operation was not just" + << " a shuffle?" << abort(FatalError); } } @@ -622,9 +622,7 @@ Foam::autoPtr Foam::fvMeshDistribute::mergeSharedPoints ) ); - bool merged = pointToMaster.size() > 0; - - if (!returnReduce(merged, orOp())) + if (returnReduce(pointToMaster.size(), sumOp