diff options
Diffstat (limited to '')
-rw-r--r-- | Source/Python/WarpXWrappers.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/Python/WarpXWrappers.h b/Source/Python/WarpXWrappers.h index a720f0f59..30fa81968 100644 --- a/Source/Python/WarpXWrappers.h +++ b/Source/Python/WarpXWrappers.h @@ -11,7 +11,7 @@ #include <AMReX_Config.H> #include <AMReX_REAL.H> -#ifdef BL_USE_MPI +#ifdef AMREX_USE_MPI # include <mpi.h> #endif @@ -34,7 +34,7 @@ extern "C" { void amrex_init (int argc, char* argv[]); -#ifdef BL_USE_MPI +#ifdef AMREX_USE_MPI void amrex_init_with_inited_mpi (int argc, char* argv[], MPI_Comm mpicomm); #endif @@ -113,6 +113,10 @@ extern "C" { int warpx_finestLevel (); + int warpx_getMyProc (); + int warpx_getNProcs (); + + void mypc_Redistribute (); #ifdef __cplusplus |