|
Bridge++
Ver. 1.1.x
|
MPI-realisation of communicator class implementation. More...
#include <communicator_mpi.h>
Classes | |
| class | Base |
| class | Layout |
| Layout class for logical organisation of parallel nodes. More... | |
Static Public Member Functions | |
| static int | init (int *pargc, char ***pargv) |
| static int | finalize () |
| static void | abort () |
| static int | setup (int ninstance=1) |
| static bool | is_primary () |
| static int | self () |
| static int | size () |
| static MPI_Comm & | world () |
| retrieves current communicator. More... | |
| static int | sync () |
| static double | get_time () |
| static int | status () |
| static int | broadcast_string (int count, string &data, int sender) |
| static Channel * | send_init (int count, int idir, int ipm) |
| static Channel * | recv_init (int count, int idir, int ipm) |
Private Member Functions | |
| Communicator_impl () | |
| Communicator_impl (const Communicator_impl &) | |
| Communicator_impl & | operator= (const Communicator_impl &) |
| ~Communicator_impl () | |
Static Private Attributes | |
| static int | m_grid_rank = 0 |
| static int | m_grid_size = 1 |
| static MPI_Comm | m_comm |
MPI-realisation of communicator class implementation.
Communicator_impl class provides implementation of communication between parallel processes using MPI. Interface is basically the same as the abstract communicator class.
Definition at line 34 of file communicator_mpi.h.
|
inlineprivate |
Definition at line 105 of file communicator_mpi.h.
|
inlineprivate |
Definition at line 106 of file communicator_mpi.h.
|
inlineprivate |
Definition at line 109 of file communicator_mpi.h.
|
static |
Definition at line 120 of file communicator_mpi.cpp.
|
static |
Definition at line 265 of file communicator_mpi.cpp.
|
static |
Definition at line 78 of file communicator_mpi.cpp.
|
static |
Definition at line 303 of file communicator_mpi.cpp.
|
static |
Definition at line 58 of file communicator_mpi.cpp.
|
static |
Definition at line 132 of file communicator_mpi.cpp.
|
private |
|
static |
Communicator::send_init() method creates a channel instance that wraps persistent communication object to receive data from neighbour node located at upward or downward (specified by ipm) in the direction idir. count represents size of buffer by number of elements (bytes).
Definition at line 60 of file channel.cpp.
|
static |
Definition at line 138 of file communicator_mpi.cpp.
|
static |
Communicator::send_init() method creates a channel instance that wraps persistent communication object to send data to neighbour node located at upward or downward (specified by ipm) in the direction idir. count represents size of buffer by number of elements (bytes).
Definition at line 25 of file channel.cpp.
|
static |
Definition at line 85 of file communicator_mpi.cpp.
|
static |
Definition at line 144 of file communicator_mpi.cpp.
|
static |
Definition at line 311 of file communicator_mpi.cpp.
|
static |
Definition at line 174 of file communicator_mpi.cpp.
|
inlinestatic |
retrieves current communicator.
Definition at line 58 of file communicator_mpi.h.
|
staticprivate |
Definition at line 122 of file communicator_mpi.h.
|
staticprivate |
Definition at line 119 of file communicator_mpi.h.
|
staticprivate |
Definition at line 120 of file communicator_mpi.h.