Communication among planes Non-blocking communication allowing overlap of communication and computation
Starts communication among two planes
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | comm |
MPI communicator |
||
| integer, | intent(in) | :: | ndim |
Dimension of data to be sent |
||
| integer, | intent(in) | :: | ndim_halo |
Dimension of data to be received |
||
| real(kind=GP), | intent(in), | dimension(ndim) | :: | u |
Data to be sent |
|
| integer, | intent(in) | :: | shift |
Shift to current rank, where data is received from (rank+shift, assumung periodicity) |
||
| real(kind=GP), | intent(out), | dimension(ndim_halo) | :: | uhalo |
Halo values (Available after call to finalize_planes_comm) |
|
| integer, | intent(out), | dimension(2) | :: | request |
Communicator request |
Finalises communication
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in), | dimension(2) | :: | request |
Communicator request |