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())
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue