Bugfix: comms barrier for AMG agglomeration with non-blocking communications
This commit is contained in:
parent
c5fa11371c
commit
196399ef6a
1 changed files with 5 additions and 5 deletions
|
@ -227,6 +227,11 @@ void Foam::GAMGAgglomeration::agglomerateLduAddressing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Pstream::parRun())
|
||||||
|
{
|
||||||
|
Pstream::waitRequests();
|
||||||
|
}
|
||||||
|
|
||||||
// Store coefficients to avoid tangled communications
|
// Store coefficients to avoid tangled communications
|
||||||
// HJ, 1/Apr/2009
|
// HJ, 1/Apr/2009
|
||||||
FieldField<Field, label> fineInterfaceAddr(fineInterfaces.size());
|
FieldField<Field, label> fineInterfaceAddr(fineInterfaces.size());
|
||||||
|
@ -253,11 +258,6 @@ void Foam::GAMGAgglomeration::agglomerateLduAddressing
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Pstream::parRun())
|
|
||||||
{
|
|
||||||
Pstream::waitRequests();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Add the coarse level
|
// Add the coarse level
|
||||||
|
|
||||||
// Set the coarse ldu addressing onto the list
|
// Set the coarse ldu addressing onto the list
|
||||||
|
|
Reference in a new issue