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