BUG: cyclicAMIFvPatch - use AMI.distributed() flag instead of Pstream::parRun(). See #2078

This commit is contained in:
Andrew Heather
2021-05-06 10:27:14 +01:00
parent bfea2326da
commit db6c9c7bb2

View File

@ -245,7 +245,7 @@ void Foam::cyclicAMIFvPatch::movePoints()
}
scalarField srcMeshPhi(phip);
if (Pstream::parRun())
if (AMI().distributed())
{
AMI().srcMap().distribute(srcMeshPhi);
}