BUG: source point face call in AMI had owner and neighbour the wrong way around
This commit is contained in:
parent
7b27df3002
commit
b816fac762
1 changed files with 11 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue