39 #ifndef Foam_PstreamGlobals_H 40 #define Foam_PstreamGlobals_H 50 namespace PstreamGlobals
75 UPstream::Request* requestPtr,
76 label* requestIdx =
nullptr 80 if (requestIdx) *requestIdx = -1;
92 label* requestIdx =
nullptr 101 if (requestIdx) *requestIdx = -1;
DynamicList< MPI_Request > outstandingRequests_
Outstanding non-blocking operations.
DynamicList< MPI_Comm > MPICommunicators_
void reset_request(UPstream::Request *requestPtr, label *requestIdx=nullptr)
Reset UPstream::Request to null and/or the index of the outstanding request to -1.
void checkCommunicator(const label comm, const label toProcNo)
Fatal if comm is outside the allocated range.
DynamicList< bool > pendingMPIFree_
An opaque wrapper for MPI_Request with a vendor-independent representation without any <mpi...
Header for low-level interfaces between MPI and OpenFOAM. The detail interfaces are subject to change...
void push_request(MPI_Request request, UPstream::Request *requestPtr=nullptr, label *requestIdx=nullptr)
Transcribe MPI_Request to UPstream::Request (does not affect the stack of outstanding requests) or el...