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); }