Definition at line 22 of file MPI.h.
#include <MPI.h>
◆ Setup()
| BaseLib::MPI::Setup::Setup |
( |
int | argc, |
|
|
char * | argv[] ) |
|
inline |
Definition at line 24 of file MPI.h.
25 {
26#ifdef USE_PETSC
27 MPI_Init(&argc, &argv);
28#else
29 (void)argc;
30 (void)argv;
31#endif
32 }
◆ ~Setup()
| BaseLib::MPI::Setup::~Setup |
( |
| ) |
|
|
inline |
Definition at line 34 of file MPI.h.
35 {
36#ifdef USE_PETSC
37 MPI_Finalize();
38#endif
39 }
The documentation for this struct was generated from the following file: