SkelGIS
3.0
|
template communicationInOut Class More...
#include <communications.hpp>
Public Member Functions | |
CommunicationsInOut () | |
constructor | |
~CommunicationsInOut () | |
destructor | |
int | ISendOut (T *bufOut, int count, int dest) |
A non blocking MPI send is initialized. | |
int | ISendIn (T *bufIn, int count, int dest) |
A non blocking MPI send is initialized. | |
int | IRecvOut (int count, int source) |
A non blocking MPI receive is initialized. | |
int | IRecvIn (int count, int source) |
A non blocking MPI receive is initialized. | |
int | Wait_sOut (int dest) |
A MPI wait call to wait for the send exchange with a precise processor. | |
int | Wait_sIn (int dest) |
A MPI wait call to wait for the send exchange with a precise processor. | |
int | Wait_rOut (T *toRecvOut, int src, int count) |
A MPI wait call to wait for the send exchange with a precise processor. | |
int | Wait_rIn (T *toRecvIn, int src, int count) |
A MPI wait call to wait for the send exchange with a precise processor. | |
Public Attributes | |
MPI_Request * | requests_s_out |
MPI_Request * | requests_s_in |
MPI_Request * | requests_r_out |
MPI_Request * | requests_r_in |
MPI_Status * | status_s_out |
MPI_Status * | status_s_in |
MPI_Status * | status_r_out |
MPI_Status * | status_r_in |
char ** | get_out |
char ** | get_in |
template communicationInOut Class
This template class defines the MPI initializations, the MPI communications T is the type of data to exchange
Definition at line 184 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::IRecvIn | ( | int | count, |
int | source | ||
) | [inline] |
A non blocking MPI receive is initialized.
count | is the number of elements to receive from an in edge |
source | is the source processor |
Definition at line 297 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::IRecvOut | ( | int | count, |
int | source | ||
) | [inline] |
A non blocking MPI receive is initialized.
count | is the number of elements to receive from an out edge |
source | is the source processor |
Definition at line 283 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::ISendIn | ( | T * | bufIn, |
int | count, | ||
int | dest | ||
) | [inline] |
A non blocking MPI send is initialized.
buf | is the sending buffer in another processor |
count | is the number of elements in the buffer |
dest | is the destination processor |
Definition at line 270 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::ISendOut | ( | T * | bufOut, |
int | count, | ||
int | dest | ||
) | [inline] |
A non blocking MPI send is initialized.
buf | is the sending buffer out of another processor |
count | is the number of elements in the buffer |
dest | is the destination processor |
Definition at line 256 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::Wait_rIn | ( | T * | toRecvIn, |
int | src, | ||
int | count | ||
) | [inline] |
A MPI wait call to wait for the send exchange with a precise processor.
dest | is the destination processor the send is waiting |
Definition at line 352 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::Wait_rOut | ( | T * | toRecvOut, |
int | src, | ||
int | count | ||
) | [inline] |
A MPI wait call to wait for the send exchange with a precise processor.
dest | is the destination processor the send is waiting |
Definition at line 334 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::Wait_sIn | ( | int | dest | ) | [inline] |
A MPI wait call to wait for the send exchange with a precise processor.
dest | is the destination processor the send is waiting |
Definition at line 322 of file communications.hpp.
int skelgis::CommunicationsInOut< T >::Wait_sOut | ( | int | dest | ) | [inline] |
A MPI wait call to wait for the send exchange with a precise processor.
dest | is the destination processor the send is waiting |
Definition at line 310 of file communications.hpp.
MPI_Request* skelgis::CommunicationsInOut< T >::requests_r_in |
requests_s is the list of status for send communications (one for each processor)
Definition at line 200 of file communications.hpp.
MPI_Request* skelgis::CommunicationsInOut< T >::requests_s_in |
requests_s is the list of requests for receive communications (one for each processor)
Definition at line 197 of file communications.hpp.
MPI_Request* skelgis::CommunicationsInOut< T >::requests_s_out |
< requests_s is the list of requests for send communications (one for each processor)
Definition at line 195 of file communications.hpp.
MPI_Status* skelgis::CommunicationsInOut< T >::status_s_in |
requests_s is the list of status for receive communications (one for each processor)
Definition at line 203 of file communications.hpp.