39 #ifndef Foam_PstreamGlobals_H 40 #define Foam_PstreamGlobals_H 46 #ifndef MPICH_SKIP_MPICXX 47 #define MPICH_SKIP_MPICXX 49 #ifndef OMPI_SKIP_MPICXX 50 #define OMPI_SKIP_MPICXX 58 namespace PstreamGlobals
83 UPstream::Request* requestPtr,
84 label* requestIdx =
nullptr 88 if (requestIdx) *requestIdx = -1;
100 label* requestIdx =
nullptr 109 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 independent of any <mpi...
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...