BUG: AMI - using points() instead of localPoints()

This commit is contained in:
andy
2011-09-07 14:40:53 +01:00
parent 72b63eff75
commit 5f57bab77e

View File

@ -995,7 +995,7 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::normaliseWeights
scalar s = sum(wght[faceI]);
wghtSum[faceI] = s;
scalar t = s/patch[faceI].mag(patch.localPoints());
scalar t = s/patch[faceI].mag(patch.points());
if (t < minBound)
{
minBound = t;