From db6c9c7bb2d0a1651ae5cce84bf03a118ec82672 Mon Sep 17 00:00:00 2001 From: Andrew Heather <> Date: Thu, 6 May 2021 10:27:14 +0100 Subject: [PATCH] BUG: cyclicAMIFvPatch - use AMI.distributed() flag instead of Pstream::parRun(). See #2078 --- .../fvMesh/fvPatches/constraint/cyclicAMI/cyclicAMIFvPatch.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicAMI/cyclicAMIFvPatch.C b/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicAMI/cyclicAMIFvPatch.C index b338fb7b5e..92c8ec63b2 100644 --- a/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicAMI/cyclicAMIFvPatch.C +++ b/src/finiteVolume/fvMesh/fvPatches/constraint/cyclicAMI/cyclicAMIFvPatch.C @@ -245,7 +245,7 @@ void Foam::cyclicAMIFvPatch::movePoints() } scalarField srcMeshPhi(phip); - if (Pstream::parRun()) + if (AMI().distributed()) { AMI().srcMap().distribute(srcMeshPhi); }