MPI-realisation of communicator class implementation.
More...
#include <communicator_mpi.h>
|
static int | init (int *pargc, char ***pargv) |
|
static int | finalize () |
|
static void | abort () |
|
static int | setup (int Ninstance=1) |
|
static int | setup (const std::vector< int > &lattice_size, std::vector< int > &grid_size, int Ninstance=1) |
|
static bool | is_primary () |
|
static int | self () |
|
static int | size () |
|
static int | sync () |
|
static int | sync_usleep () |
|
static double | get_time () |
|
static int | status () |
|
static int | broadcast_string (int count, string &data, int sender) |
|
static int | init (int *pargc, char ***pargv) |
|
static int | finalize () |
|
static void | abort () |
|
static int | setup (int Ninstance=1) |
|
static int | setup (const std::vector< int > &lattice_size, std::vector< int > &grid_size, int Ninstance=1) |
|
static bool | is_primary () |
|
static int | self () |
|
static int | size () |
|
static int | sync () |
|
static int | sync_usleep () |
|
static double | get_time () |
|
static int | status () |
|
static int | broadcast_string (int count, string &data, int sender) |
|
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 32 of file communicator_mpi.h.
◆ Communicator_impl() [1/4]
Communicator_impl::Communicator_impl |
( |
| ) |
|
|
inlineprivate |
◆ Communicator_impl() [2/4]
◆ ~Communicator_impl() [1/2]
Communicator_impl::~Communicator_impl |
( |
| ) |
|
|
inlineprivate |
◆ Communicator_impl() [3/4]
Communicator_impl::Communicator_impl |
( |
| ) |
|
|
inlineprivate |
◆ Communicator_impl() [4/4]
◆ ~Communicator_impl() [2/2]
Communicator_impl::~Communicator_impl |
( |
| ) |
|
|
inlineprivate |
◆ abort() [1/2]
void Communicator_impl::abort |
( |
| ) |
|
|
static |
◆ abort() [2/2]
static void Communicator_impl::abort |
( |
| ) |
|
|
static |
◆ broadcast_string() [1/2]
int Communicator_impl::broadcast_string |
( |
int |
count, |
|
|
string & |
data, |
|
|
int |
sender |
|
) |
| |
|
static |
◆ broadcast_string() [2/2]
static int Communicator_impl::broadcast_string |
( |
int |
count, |
|
|
string & |
data, |
|
|
int |
sender |
|
) |
| |
|
static |
◆ finalize() [1/2]
static int Communicator_impl::finalize |
( |
| ) |
|
|
static |
◆ finalize() [2/2]
int Communicator_impl::finalize |
( |
| ) |
|
|
static |
◆ get_time() [1/2]
double Communicator_impl::get_time |
( |
| ) |
|
|
static |
◆ get_time() [2/2]
static double Communicator_impl::get_time |
( |
| ) |
|
|
static |
◆ init() [1/2]
int Communicator_impl::init |
( |
int * |
pargc, |
|
|
char *** |
pargv |
|
) |
| |
|
static |
◆ init() [2/2]
static int Communicator_impl::init |
( |
int * |
pargc, |
|
|
char *** |
pargv |
|
) |
| |
|
static |
◆ is_primary() [1/2]
static bool Communicator_impl::is_primary |
( |
| ) |
|
|
static |
◆ is_primary() [2/2]
bool Communicator_impl::is_primary |
( |
| ) |
|
|
static |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ self() [1/2]
int Communicator_impl::self |
( |
| ) |
|
|
static |
◆ self() [2/2]
static int Communicator_impl::self |
( |
| ) |
|
|
static |
◆ setup() [1/4]
static int Communicator_impl::setup |
( |
const std::vector< int > & |
lattice_size, |
|
|
std::vector< int > & |
grid_size, |
|
|
int |
Ninstance = 1 |
|
) |
| |
|
static |
◆ setup() [2/4]
int Communicator_impl::setup |
( |
const std::vector< int > & |
lattice_size, |
|
|
std::vector< int > & |
grid_size, |
|
|
int |
Ninstance = 1 |
|
) |
| |
|
static |
◆ setup() [3/4]
int Communicator_impl::setup |
( |
int |
Ninstance = 1 | ) |
|
|
static |
◆ setup() [4/4]
static int Communicator_impl::setup |
( |
int |
Ninstance = 1 | ) |
|
|
static |
◆ size() [1/2]
int Communicator_impl::size |
( |
| ) |
|
|
static |
◆ size() [2/2]
static int Communicator_impl::size |
( |
| ) |
|
|
static |
◆ status() [1/2]
int Communicator_impl::status |
( |
| ) |
|
|
static |
◆ status() [2/2]
static int Communicator_impl::status |
( |
| ) |
|
|
static |
◆ sync() [1/2]
static int Communicator_impl::sync |
( |
| ) |
|
|
static |
◆ sync() [2/2]
int Communicator_impl::sync |
( |
| ) |
|
|
static |
◆ sync_usleep() [1/2]
static int Communicator_impl::sync_usleep |
( |
| ) |
|
|
static |
◆ sync_usleep() [2/2]
int Communicator_impl::sync_usleep |
( |
| ) |
|
|
static |
◆ default_grid_map
static char Communicator_impl::default_grid_map = "xyzt" |
|
staticprivate |
◆ m_comm
static MPI_Comm Communicator_impl::m_comm |
|
staticprivate |
◆ m_grid_rank
static int Communicator_impl::m_grid_rank = 0 |
|
staticprivate |
◆ m_grid_size
static int Communicator_impl::m_grid_size = 1 |
|
staticprivate |
The documentation for this class was generated from the following files: