PstreamExchange.C File Reference
Include dependency graph for PstreamExchange.C:

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 
 Foam::PstreamDetail
 Implementation details for UPstream/Pstream/MPI etc.
 

Functions

template<class Type >
void exchangeBuf (const UList< std::pair< int, stdFoam::span< const Type >>> &sends, const UList< std::pair< int, stdFoam::span< Type >>> &recvs, const int tag, const label comm, const bool wait)
 Setup sends and receives, each specified as [rank, span] tuple. More...
 
template<class Type >
void exchangeChunkedBuf (const UList< std::pair< int, stdFoam::span< const Type >>> &sends, const UList< std::pair< int, stdFoam::span< Type >>> &recvs, const int tag, const label comm, const bool wait)
 Chunked exchange of contiguous data. Setup sends and receives, each specified as [rank, span] tuple. More...
 
template<class Container , class Type >
void exchangeContainer (const UList< Container > &sendBufs, UList< Container > &recvBufs, const int tag, const label comm, const bool wait)
 Exchange contiguous data using point-to-point communication. Sends sendBufs, receives into recvBufs. More...
 
template<class Container , class Type >
void exchangeContainer (const Map< Container > &sendBufs, Map< Container > &recvBufs, const int tag, const label comm, const bool wait)
 Exchange contiguous data using point-to-point communication. Sends sendBufs, receives into recvBufs. More...
 

Detailed Description

Original source file PstreamExchange.C

Definition in file PstreamExchange.C.