diff --git a/src/overset/oversetMesh/oversetFringe/donorBasedLayeredOverlapFringe/donorBasedLayeredOverlapFringe.C b/src/overset/oversetMesh/oversetFringe/donorBasedLayeredOverlapFringe/donorBasedLayeredOverlapFringe.C index 3486cd26f..b075e9999 100644 --- a/src/overset/oversetMesh/oversetFringe/donorBasedLayeredOverlapFringe/donorBasedLayeredOverlapFringe.C +++ b/src/overset/oversetMesh/oversetFringe/donorBasedLayeredOverlapFringe/donorBasedLayeredOverlapFringe.C @@ -340,14 +340,10 @@ void Foam::donorBasedLayeredOverlapFringe::calcAddressing() const else { // User did not specify centre points and the centre point holds - // the sum of all the points. Reduce the data + // the sum of all the points. Reduce centre point and divide it + // with global number of unique donors reduce(centrePoint, sumOp()); - const label nUniqueDonors = - returnReduce(donors.size(), sumOp