From fc31799a7e69c646e17823bc1fec13cc93a4e0cf Mon Sep 17 00:00:00 2001 From: andy Date: Fri, 28 Mar 2014 15:59:47 +0000 Subject: [PATCH] BUG: cyclicAMI - fixed transform for case that angle is given - mantis #1217 --- .../patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C index 8c41bc6bb7..91ac2b87b7 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C @@ -154,13 +154,13 @@ void Foam::cyclicAMIPolyPatch::calcTransforms tensor RPos ( T - + cos(rotationAngle_)*(tensor::I + T) + + cos(rotationAngle_)*(tensor::I - T) + sin(rotationAngle_)*S ); tensor RNeg ( T - + cos(-rotationAngle_)*(tensor::I + T) + + cos(-rotationAngle_)*(tensor::I - T) + sin(-rotationAngle_)*S );