diff --git a/src/AMIInterpolation/patches/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C b/src/AMIInterpolation/patches/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C index d3dd917a38ff66867963a5f6938f8e8a8aeea3ab..8c36c919079e4c9cba863b8ed42523e7934ece68 100644 --- a/src/AMIInterpolation/patches/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C +++ b/src/AMIInterpolation/patches/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C @@ -176,7 +176,6 @@ void Foam::cyclicAMIPolyPatch::calcTransforms } case TRANSLATIONAL: { - // Transform 0 points if (debug) { Pout<< "cyclicAMIPolyPatch::calcTransforms :" @@ -204,11 +203,7 @@ void Foam::cyclicAMIPolyPatch::calcTransforms const_cast<tensorField&>(forwardT()).clear(); const_cast<tensorField&>(reverseT()).clear(); - const_cast<vectorField&>(separation()) = vectorField - ( - 1, - vector::zero - ); + const_cast<vectorField&>(separation()).setSize(0); const_cast<boolList&>(collocated()) = boolList(1, true); break;