ivutils
Loading...
Searching...
No Matches
apMPIComm Class Reference

interface to work with MPI. More...

#include <ifmpi.h>

Public Member Functions

apMPIHandlerimpl ()
 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
 

Detailed Description

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.

Member Function Documentation

◆ impl()

apMPIHandler * apMPIComm::impl ( )
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

◆ set_exit()

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


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