35 #undef Pstream_CommonRoutines 36 #define Pstream_CommonRoutines(Native, TaggedType) \ 38 void Foam::UPstream::mpiGather \ 40 const Native* sendData, \ 46 PstreamDetail::gather \ 48 sendData, recvData, count, \ 54 void Foam::UPstream::mpiScatter \ 56 const Native* sendData, \ 62 PstreamDetail::scatter \ 64 sendData, recvData, count, \ 70 void Foam::UPstream::mpiAllGather \ 77 PstreamDetail::allGather \ 86 #undef Pstream_CommonRoutines 91 #undef Pstream_CommonRoutines 92 #define Pstream_CommonRoutines(Native, TaggedType) \ 93 void Foam::UPstream::gather \ 95 const Native* sendData, \ 99 const UList<int>& recvCounts, \ 100 const UList<int>& recvOffsets, \ 104 PstreamDetail::gatherv \ 106 sendData, sendCount, \ 107 recvData, recvCounts, recvOffsets, \ 112 void Foam::UPstream::scatter \ 114 const Native* sendData, \ 115 const UList<int>& sendCounts, \ 116 const UList<int>& sendOffsets, \ 123 PstreamDetail::scatterv \ 125 sendData, sendCounts, sendOffsets, \ 126 recvData, recvCount, \ 141 #undef Pstream_CommonRoutines Functions to wrap MPI_Bcast, MPI_Allreduce, MPI_Iallreduce etc.
#define Pstream_CommonRoutines(Native, TaggedType)