HOPS
HOPS class reference
MHO_MPIInterfaceWrapper.hh
Go to the documentation of this file.
1 #ifndef MHO_MPIInterfaceWrapper_HH__
2 #define MHO_MPIInterfaceWrapper_HH__
3 
12 #ifdef HOPS_USE_MPI
13  #include "MHO_MPIInterface.hh"
14 #endif
15 
16 #ifdef HOPS_USE_MPI
17  #define MPI_SINGLE_PROCESS if(hops::MHO_MPIInterface::GetInstance()->GetGlobalProcessID() == 0)
18 #else
19  #define MPI_SINGLE_PROCESS
20 #endif
21 
22 #endif