Loading...
Searching...
No Matches
UPstreamAllToAll.C File Reference
Include dependency graph for UPstreamAllToAll.C:

Go to the source code of this file.

Macros

#define Pstream_CommonRoutines(Native, TaggedType)
#define Pstream_CommonRoutines(Native, TaggedType)
#define Pstream_CommonRoutines(Native, TaggedType)

Detailed Description

Original source file UPstreamAllToAll.C

Definition in file UPstreamAllToAll.C.

Macro Definition Documentation

◆ Pstream_CommonRoutines [1/3]

#define Pstream_CommonRoutines ( Native,
TaggedType )
Value:
( \
const UList<Native>& sendData, \
UList<Native>& recvData, \
const int communicator \
) \
{ \
PstreamDetail::allToAll \
( \
sendData, recvData, TaggedType, communicator \
); \
}
static void allToAll(const UList< int32_t > &sendData, UList< int32_t > &recvData, const int communicator=UPstream::worldComm)
Exchange int32_t data with all ranks in communicator.

Definition at line 30 of file UPstreamAllToAll.C.

◆ Pstream_CommonRoutines [2/3]

#define Pstream_CommonRoutines ( Native,
TaggedType )
Value:
( \
const UList<Native>& sendData, \
UList<Native>& recvData, \
const int tag, \
const int communicator \
) \
{ \
PstreamDetail::allToAllConsensus \
( \
sendData, recvData, TaggedType, tag, communicator \
); \
} \
\
( \
const Map<Native>& sendData, \
Map<Native>& recvData, \
const int tag, \
const int communicator \
) \
{ \
PstreamDetail::allToAllConsensus \
( \
sendData, recvData, TaggedType, tag, communicator \
); \
}
static void allToAllConsensus(const UList< int32_t > &sendData, UList< int32_t > &recvData, const int tag, const int communicator=UPstream::worldComm)
Exchange non-zero int32_t data between ranks [NBX].

Definition at line 30 of file UPstreamAllToAll.C.

◆ Pstream_CommonRoutines [3/3]

#define Pstream_CommonRoutines ( Native,
TaggedType )
Value:
void Foam::UPstream::allToAllv \
( \
const Native* sendData, \
const UList<int>& sendCounts, \
const UList<int>& sendOffsets, \
Native* recvData, \
const UList<int>& recvCounts, \
const UList<int>& recvOffsets, \
const int communicator \
) \
{ \
PstreamDetail::allToAllv \
( \
sendData, sendCounts, sendOffsets, \
recvData, recvCounts, recvOffsets, \
TaggedType, communicator \
); \
}

Definition at line 30 of file UPstreamAllToAll.C.