Function combigrid::theMPISystem
Defined in File MPISystem.hpp
Function Documentation
-
inline MPISystemID combigrid::theMPISystem()
Returns a handle to the MPI system and all global-use communicators.
accessor for the MPISystem singleton
This function returns a handle to the MPI communication system singleton. This handle can be used to configure the communication system or to acquire the current settings. The function expects that MPI has already been properly initialized (e.g. via the MPI_Init() or any similar function). In case MPI was not initialized, a std::runtime_error exception is thrown.
- Returns:
Handle to the MPI communication system.