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