40 calculatedProcessorGAMGInterfaceField,
46 calculatedProcessorGAMGInterfaceField,
54 Foam::calculatedProcessorGAMGInterfaceField::
55 calculatedProcessorGAMGInterfaceField
62 procInterface_(refCast<const calculatedProcessorGAMGInterface>(GAMGCp)),
67 refCast<const processorLduInterfaceField>(fineInterface);
69 doTransform_ =
p.doTransform();
74 Foam::calculatedProcessorGAMGInterfaceField::
75 calculatedProcessorGAMGInterfaceField
78 const bool doTransform,
83 procInterface_(refCast<const calculatedProcessorGAMGInterface>(GAMGCp)),
84 doTransform_(doTransform),
103 procInterface_.interfaceInternalField(psiInternal, scalarSendBuf_);
107 commsType == Pstream::commsTypes::nonBlocking
108 && !Pstream::floatTransfer
112 scalarReceiveBuf_.setSize(scalarSendBuf_.size());
113 outstandingRecvRequest_ = UPstream::nRequests();
116 Pstream::commsTypes::nonBlocking,
117 procInterface_.neighbProcNo(),
118 scalarReceiveBuf_.data_bytes(),
119 scalarReceiveBuf_.size_bytes(),
120 procInterface_.tag(),
124 outstandingSendRequest_ = UPstream::nRequests();
127 Pstream::commsTypes::nonBlocking,
128 procInterface_.neighbProcNo(),
129 scalarSendBuf_.cdata_bytes(),
130 scalarSendBuf_.size_bytes(),
131 procInterface_.tag(),
137 procInterface_.compressedSend(commsType, scalarSendBuf_);
166 commsType == Pstream::commsTypes::nonBlocking
167 && !Pstream::floatTransfer
173 outstandingRecvRequest_ >= 0
174 && outstandingRecvRequest_ < Pstream::nRequests()
177 UPstream::waitRequest(outstandingRecvRequest_);
180 outstandingSendRequest_ = -1;
181 outstandingRecvRequest_ = -1;
186 transformCoupleField(scalarReceiveBuf_, cmpt);
189 addToInternalField(result, !
add,
faceCells, coeffs, scalarReceiveBuf_);
195 procInterface_.compressedReceive<solveScalar>
201 transformCoupleField(pnf, cmpt);
203 addToInternalField(result, !
add,
faceCells, coeffs, pnf);