DISPATCH
nbor_list_mod Module Reference

Data type to keep and maintain information on MPI processes. The process data type maintains a list of nbor MPI ranks, which is used to send and recv. More...

Data Types

type  nbor_list_t
 
type  nbor_t
 

Functions/Subroutines

subroutine update (self, task_list)
 Initialize a neighbor list.
 

Detailed Description

Data type to keep and maintain information on MPI processes. The process data type maintains a list of nbor MPI ranks, which is used to send and recv.

To send a buffer to all nbors, repeatedly do:

call processsend (buffer)

To process incoming buffers (with "call unpack(buffer)"), repeatedly do

call processrecv (buffer, unpack)