From 35fd6f4894818e897435f3756fb2c548bee0bd15 Mon Sep 17 00:00:00 2001 From: Henry <Henry> Date: Thu, 28 May 2015 16:29:06 +0100 Subject: [PATCH] cyclicAMIPolyPatch: Correct report of sweep angle Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1716 --- .../patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C index cb92236994d..f58e99ce0e0 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C @@ -261,7 +261,7 @@ void Foam::cyclicAMIPolyPatch::calcTransforms if (debug) { - scalar theta = radToDeg(acos(n0 & n1)); + scalar theta = radToDeg(acos(-(n0 & n1))); Pout<< "cyclicAMIPolyPatch::calcTransforms: patch:" << name() -- GitLab