diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C b/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C index c15b1c1be7f8950c9354099b2913704bb2c41840..6fbb2150029bbe35dbd3945cd86c6bd632502ce9 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/processor/processorFvPatchScalarField.C @@ -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;