mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
BUG: cyclicAMIFvPatch - use AMI.distributed() flag instead of Pstream::parRun(). See #2078
This commit is contained in:
@ -245,7 +245,7 @@ void Foam::cyclicAMIFvPatch::movePoints()
|
||||
}
|
||||
|
||||
scalarField srcMeshPhi(phip);
|
||||
if (Pstream::parRun())
|
||||
if (AMI().distributed())
|
||||
{
|
||||
AMI().srcMap().distribute(srcMeshPhi);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user