AMI: Report the weight area-average rather than the number-average

This commit is contained in:
Will Bainbridge
2017-11-01 16:36:24 +00:00
parent f6a31132ec
commit b8cc954768

View File

@ -283,7 +283,7 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::normaliseWeights
<< " sum(weights) min/max/average = "
<< gMin(wghtSum) << ", "
<< gMax(wghtSum) << ", "
<< gAverage(wghtSum) << endl;
<< gSum(wghtSum*patchAreas)/gSum(patchAreas) << endl;
const label nLow = returnReduce(nLowWeight, sumOp<label>());