mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: AMI - was using wrong interpolation for interpolateToTarget
This commit is contained in:
@ -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>());
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user