Class TempLat::MPICartesianExchange
ClassList > TempLat > MPICartesianExchange
A class which handles the exchange between neighbours in the cartesian group. Has two methods: exchangeUp and exchangeDown, which take as input a datatype, a dimension (because you need to specify what is up and down), a pointer for the sending memory and a pointer for the receiving memory. More...
#include <mpicartesianexchange.h>
Public Functions
| Type | Name |
|---|---|
| void | IrecvDown (MPI_Datatype dataType, ptrdiff_t dimension, void * ptrReceive, int sendCount=1) |
| void | IrecvUp (MPI_Datatype dataType, ptrdiff_t dimension, void * ptrReceive, int sendCount=1) |
| void | IsendDown (MPI_Datatype dataType, ptrdiff_t dimension, void * ptrSend, int sendCount=1) |
| void | IsendUp (MPI_Datatype dataType, ptrdiff_t dimension, void * ptrSend, int sendCount=1) |
| MPICartesianExchange (MPICartesianGroup group) |
|
| void | exchangeDown (MPI_Datatype dataType, ptrdiff_t dimension, void * ptrSend, void * ptrReceive, int sendCount=1) |
| void | exchangeUp (MPI_Datatype dataType, ptrdiff_t dimension, void * ptrSend, void * ptrReceive, int sendCount=1) |
| const MPICartesianGroup & | getMPICartesianGroup () const |
| MPICartesianNeighbours & | getNeighbours () |
| const MPICartesianNeighbours & | getNeighbours () const |
| void | waitall () |
Detailed Description
Unit test: ctest -R test-mpicartesianexchange
Public Functions Documentation
function IrecvDown
inline void TempLat::MPICartesianExchange::IrecvDown (
MPI_Datatype dataType,
ptrdiff_t dimension,
void * ptrReceive,
int sendCount=1
)
function IrecvUp
inline void TempLat::MPICartesianExchange::IrecvUp (
MPI_Datatype dataType,
ptrdiff_t dimension,
void * ptrReceive,
int sendCount=1
)
function IsendDown
inline void TempLat::MPICartesianExchange::IsendDown (
MPI_Datatype dataType,
ptrdiff_t dimension,
void * ptrSend,
int sendCount=1
)
function IsendUp
inline void TempLat::MPICartesianExchange::IsendUp (
MPI_Datatype dataType,
ptrdiff_t dimension,
void * ptrSend,
int sendCount=1
)
function MPICartesianExchange
function exchangeDown
inline void TempLat::MPICartesianExchange::exchangeDown (
MPI_Datatype dataType,
ptrdiff_t dimension,
void * ptrSend,
void * ptrReceive,
int sendCount=1
)
function exchangeUp
inline void TempLat::MPICartesianExchange::exchangeUp (
MPI_Datatype dataType,
ptrdiff_t dimension,
void * ptrSend,
void * ptrReceive,
int sendCount=1
)
function getMPICartesianGroup
function getNeighbours [1/2]
function getNeighbours [2/2]
function waitall
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/parallel/mpi/cartesian/mpicartesianexchange.h