From b1e7c009529072c5bb0f3fc2834e3ea0ef5cf27f Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 20 Jan 2014 13:15:10 +0000 Subject: [PATCH] ENH: AMI - improved output messages --- .../AMIInterpolation/AMIInterpolation.C | 26 +++++++++++++------ .../AMIMethod/AMIMethod/AMIMethod.C | 11 ++------ 2 files changed, 20 insertions(+), 17 deletions(-) diff --git a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C index 16714be445..3dd2863e98 100644 --- a/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C +++ b/src/meshTools/AMIInterpolation/AMIInterpolation/AMIInterpolation.C @@ -247,14 +247,17 @@ void Foam::AMIInterpolation::normaliseWeights << gMin(wghtSum) << ", " << gMax(wghtSum) << ", " << gAverage(wghtSum) << endl; - } - } - if (debug && nLowWeight) - { - Pout<< "AMI: Identified " << nLowWeight - << " faces with weights less than " << lowWeightTol - << endl; + const label nLow = returnReduce(nLowWeight, sumOp