From 77a795a25c5bd2d1e75c40b5f8e69eb20388bf32 Mon Sep 17 00:00:00 2001 From: william <william> Date: Fri, 12 Sep 2014 16:27:00 +0100 Subject: [PATCH] BUG: source point face call in AMI had owner and neighbour the wrong way around --- .../cyclicAMIPolyPatch/cyclicAMIPolyPatch.C | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C index 9d33b277a7d..81b9ddd1568 100644 --- a/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C +++ b/src/meshTools/AMIInterpolation/patches/cyclicAMI/cyclicAMIPolyPatch/cyclicAMIPolyPatch.C @@ -980,6 +980,11 @@ Foam::label Foam::cyclicAMIPolyPatch::pointFace { if (owner()) { + Info << "OWNER" << endl; + Debug(p); + Debug(n); + Debug(faceCentres()[faceI]); + return AMI().tgtPointFace ( *this, @@ -991,10 +996,15 @@ Foam::label Foam::cyclicAMIPolyPatch::pointFace } else { + Info << "NEIGHBOUR" << endl; + Debug(p); + Debug(n); + Debug(faceCentres()[faceI]); + return neighbPatch().AMI().srcPointFace ( - neighbPatch(), *this, + neighbPatch(), n, faceI, p -- GitLab