diff --git a/src/foam/matrices/lduMatrix/solvers/AMG/AMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C b/src/foam/matrices/lduMatrix/solvers/AMG/AMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C index 74d7e2648..8d3e89473 100644 --- a/src/foam/matrices/lduMatrix/solvers/AMG/AMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C +++ b/src/foam/matrices/lduMatrix/solvers/AMG/AMGAgglomerations/GAMGAgglomeration/GAMGAgglomerateLduAddressing.C @@ -227,6 +227,11 @@ void Foam::GAMGAgglomeration::agglomerateLduAddressing } } + if (Pstream::parRun()) + { + Pstream::waitRequests(); + } + // Store coefficients to avoid tangled communications // HJ, 1/Apr/2009 FieldField fineInterfaceAddr(fineInterfaces.size()); @@ -253,11 +258,6 @@ void Foam::GAMGAgglomeration::agglomerateLduAddressing } } - if (Pstream::parRun()) - { - Pstream::waitRequests(); - } - // Add the coarse level // Set the coarse ldu addressing onto the list