Fix for communications clash; under review
This commit is contained in:
parent
838a596129
commit
70602a21d8
1 changed files with 8 additions and 0 deletions
|
@ -1147,6 +1147,14 @@ void GlobalPointPatchField
|
||||||
|
|
||||||
// Reduce/extract the result and enforce over all processors
|
// Reduce/extract the result and enforce over all processors
|
||||||
|
|
||||||
|
// Requires global sync points to flush buffers before gather-scatter
|
||||||
|
// communications. Reconsider. HJ, 29/Mar/2011
|
||||||
|
if (Pstream::defaultCommsType == Pstream::nonBlocking)
|
||||||
|
{
|
||||||
|
IPstream::waitRequests();
|
||||||
|
OPstream::waitRequests();
|
||||||
|
}
|
||||||
|
|
||||||
tmp<Field<scalar> > trpf =
|
tmp<Field<scalar> > trpf =
|
||||||
reduceExtractPoint<scalar>(localMult);
|
reduceExtractPoint<scalar>(localMult);
|
||||||
|
|
||||||
|
|
Reference in a new issue