mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: source point face call in AMI had owner and neighbour the wrong way around
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user