BUG: source point face call in AMI had owner and neighbour the wrong way around

This commit is contained in:
william
2014-09-12 16:27:00 +01:00
committed by Andrew Heather
parent bf7929d517
commit 77a795a25c

View File

@ -980,6 +980,11 @@ Foam::label Foam::cyclicAMIPolyPatch::pointFace
{ {
if (owner()) if (owner())
{ {
Info << "OWNER" << endl;
Debug(p);
Debug(n);
Debug(faceCentres()[faceI]);
return AMI().tgtPointFace return AMI().tgtPointFace
( (
*this, *this,
@ -991,10 +996,15 @@ Foam::label Foam::cyclicAMIPolyPatch::pointFace
} }
else else
{ {
Info << "NEIGHBOUR" << endl;
Debug(p);
Debug(n);
Debug(faceCentres()[faceI]);
return neighbPatch().AMI().srcPointFace return neighbPatch().AMI().srcPointFace
( (
neighbPatch(),
*this, *this,
neighbPatch(),
n, n,
faceI, faceI,
p p