36 #undef Pstream_CommonRoutines 37 #define Pstream_CommonRoutines(Native, TaggedType) \ 38 void Foam::UPstream::allToAll \ 40 const UList<Native>& sendData, \ 41 UList<Native>& recvData, \ 45 PstreamDetail::allToAll \ 47 sendData, recvData, TaggedType, comm \ 58 #undef Pstream_CommonRoutines 63 #undef Pstream_CommonRoutines 64 #define Pstream_CommonRoutines(Native, TaggedType) \ 65 void Foam::UPstream::allToAllConsensus \ 67 const UList<Native>& sendData, \ 68 UList<Native>& recvData, \ 73 PstreamDetail::allToAllConsensus \ 75 sendData, recvData, TaggedType, tag, comm \ 79 void Foam::UPstream::allToAllConsensus \ 81 const Map<Native>& sendData, \ 82 Map<Native>& recvData, \ 87 PstreamDetail::allToAllConsensus \ 89 sendData, recvData, TaggedType, tag, comm \ 97 #undef Pstream_CommonRoutines 102 #undef Pstream_CommonRoutines 103 #define Pstream_CommonRoutines(Native, TaggedType) \ 104 void Foam::UPstream::allToAll \ 106 const Native* sendData, \ 107 const UList<int>& sendCounts, \ 108 const UList<int>& sendOffsets, \ 110 const UList<int>& recvCounts, \ 111 const UList<int>& recvOffsets, \ 115 PstreamDetail::allToAllv \ 117 sendData, sendCounts, sendOffsets, \ 118 recvData, recvCounts, recvOffsets, \ 125 #undef Pstream_CommonRoutines
Functions to wrap MPI_Bcast, MPI_Allreduce, MPI_Iallreduce etc.
#define Pstream_CommonRoutines(Native, TaggedType)