AMI: Report the weight area-average rather than the number-average
This commit is contained in:
@ -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>());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user