SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::mpi Class Reference

Interface to the Message Passing Interface. More...

Static Public Member Functions

static void no_mpi (const std::string &name)
 
static void start (int ac, char **av)
 
static void stop ()
 
static int env_maxtag ()
 
static size_t comm_size ()
 
static size_t comm_rank ()
 
static bool comm_isroot ()
 
static void comm_barrier ()
 
static void comm_broadcast (int &what, int root=0)
 
template<typename T >
static void comm_broadcast (T &what, int root=0)
 
static std::vector< int > comm_gather (const int &what, int root=0)
 

Detailed Description

Interface to the Message Passing Interface.

Member Function Documentation

static void shore::mpi::no_mpi ( const std::string &  name)
static

throws an exception if comm_size() > 1


The documentation for this class was generated from the following file: