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())
|
||||
{
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user