mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: processorFvPatchScalarField.C: use commsType as passed in
This commit is contained in:
@ -45,11 +45,7 @@ void processorFvPatchField<scalar>::initInterfaceMatrixUpdate
|
||||
{
|
||||
this->patch().patchInternalField(psiInternal, scalarSendBuf_);
|
||||
|
||||
if
|
||||
(
|
||||
Pstream::defaultCommsType == Pstream::nonBlocking
|
||||
&& !Pstream::floatTransfer
|
||||
)
|
||||
if (commsType == Pstream::nonBlocking && !Pstream::floatTransfer)
|
||||
{
|
||||
// Fast path.
|
||||
if (debug && !this->ready())
|
||||
@ -122,6 +118,7 @@ void processorFvPatchField<scalar>::updateInterfaceMatrix
|
||||
{
|
||||
UPstream::waitRequest(outstandingRecvRequest_);
|
||||
}
|
||||
// Recv finished so assume sending finished as well.
|
||||
outstandingSendRequest_ = -1;
|
||||
outstandingRecvRequest_ = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user