aboutsummaryrefslogtreecommitdiff
path: root/Source/Python/WarpXWrappers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Python/WarpXWrappers.cpp')
-rw-r--r--Source/Python/WarpXWrappers.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Python/WarpXWrappers.cpp b/Source/Python/WarpXWrappers.cpp
index 495e07e54..7b12c2781 100644
--- a/Source/Python/WarpXWrappers.cpp
+++ b/Source/Python/WarpXWrappers.cpp
@@ -7,6 +7,7 @@
* License: BSD-3-Clause-LBNL
*/
#include "WarpXWrappers.h"
+#include "Initialization/WarpXAMReXInit.H"
#include "Particles/WarpXParticleContainer.H"
#include "WarpX.H"
#include "Utils/WarpXUtil.H"
@@ -114,13 +115,13 @@ extern "C"
void amrex_init (int argc, char* argv[])
{
- amrex::Initialize(argc,argv);
+ warpx_amrex_init(argc, argv);
}
#ifdef BL_USE_MPI
void amrex_init_with_inited_mpi (int argc, char* argv[], MPI_Comm mpicomm)
{
- amrex::Initialize(argc,argv,true,mpicomm);
+ warpx_amrex_init(argc, argv, true, mpicomm);
}
#endif