BUG: AMI - was using wrong interpolation for interpolateToTarget

This commit is contained in:
andy
2011-11-02 18:04:05 +00:00
parent 54e4f9f00b
commit 3d03da8e8c

View File

@ -1527,7 +1527,7 @@ Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
const Field<Type>& fld
) const
{
return interpolateToSource(fld, sumOp<Type>());
return interpolateToTarget(fld, sumOp<Type>());
}
@ -1539,7 +1539,7 @@ Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
const tmp<Field<Type> >& tFld
) const
{
return interpolateToSource(tFld, sumOp<Type>());
return interpolateToTarget(tFld, sumOp<Type>());
}