mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Use combineOp not binary Op
This commit is contained in:
@ -1900,7 +1900,7 @@ template<class Type, class CombineOp>
|
|||||||
void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
|
void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
|
||||||
(
|
(
|
||||||
const UList<Type>& fld,
|
const UList<Type>& fld,
|
||||||
const CombineOp& bop,
|
const CombineOp& cop,
|
||||||
List<Type>& result
|
List<Type>& result
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
@ -1937,7 +1937,7 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
|
|||||||
|
|
||||||
forAll(faces, i)
|
forAll(faces, i)
|
||||||
{
|
{
|
||||||
bop(result[faceI], faceI, work[faces[i]], weights[i]);
|
cop(result[faceI], faceI, work[faces[i]], weights[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1950,7 +1950,7 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
|
|||||||
|
|
||||||
forAll(faces, i)
|
forAll(faces, i)
|
||||||
{
|
{
|
||||||
bop(result[faceI], faceI, fld[faces[i]], weights[i]);
|
cop(result[faceI], faceI, fld[faces[i]], weights[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1962,7 +1962,7 @@ template<class Type, class CombineOp>
|
|||||||
void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToSource
|
void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToSource
|
||||||
(
|
(
|
||||||
const UList<Type>& fld,
|
const UList<Type>& fld,
|
||||||
const CombineOp& bop,
|
const CombineOp& cop,
|
||||||
List<Type>& result
|
List<Type>& result
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
@ -1999,7 +1999,7 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToSource
|
|||||||
|
|
||||||
forAll(faces, i)
|
forAll(faces, i)
|
||||||
{
|
{
|
||||||
bop(result[faceI], faceI, work[faces[i]], weights[i]);
|
cop(result[faceI], faceI, work[faces[i]], weights[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2012,7 +2012,7 @@ void Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToSource
|
|||||||
|
|
||||||
forAll(faces, i)
|
forAll(faces, i)
|
||||||
{
|
{
|
||||||
bop(result[faceI], faceI, fld[faces[i]], weights[i]);
|
cop(result[faceI], faceI, fld[faces[i]], weights[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2101,7 +2101,7 @@ Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToSource
|
|||||||
const Field<Type>& fld
|
const Field<Type>& fld
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return interpolateToSource(fld, sumOp<Type>());
|
return interpolateToSource(fld, plusEqOp<Type>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2113,7 +2113,7 @@ Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToSource
|
|||||||
const tmp<Field<Type> >& tFld
|
const tmp<Field<Type> >& tFld
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return interpolateToSource(tFld(), sumOp<Type>());
|
return interpolateToSource(tFld(), plusEqOp<Type>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2125,7 +2125,7 @@ Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
|
|||||||
const Field<Type>& fld
|
const Field<Type>& fld
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return interpolateToTarget(fld, sumOp<Type>());
|
return interpolateToTarget(fld, plusEqOp<Type>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -2137,7 +2137,7 @@ Foam::AMIInterpolation<SourcePatch, TargetPatch>::interpolateToTarget
|
|||||||
const tmp<Field<Type> >& tFld
|
const tmp<Field<Type> >& tFld
|
||||||
) const
|
) const
|
||||||
{
|
{
|
||||||
return interpolateToTarget(tFld(), sumOp<Type>());
|
return interpolateToTarget(tFld(), plusEqOp<Type>());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user