ivutils
|
interface to work with MPI. More...
#include <ifmpi.h>
Public Member Functions | |
apMPIHandler * | impl () |
Accessor to MPI implementation. | |
int | Init (int argc, char **argv) |
calls MPI_Init and initialize fields of the class | |
void | set_exit () |
< set is_exit=1 | |
interface to work with MPI.
works in serial and MPI (if macro USE_MPI is defined) regimes. In serial regime MPI function are not called.
|
inline |
Accessor to MPI implementation.
The returned pointer should be used to acces MPI-specifiec functions The apMPIHandler class definition is available only when including implmpi.h that directly includes mpi.h
void apMPIComm::set_exit | ( | ) |
< set is_exit=1
if is_exit=1 at some processor, set is_exit=1 at all processors. returns is_exit