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