diff options
author | 2020-07-20 11:46:28 -0700 | |
---|---|---|
committer | 2020-07-20 11:46:28 -0700 | |
commit | 54bfef675782f4b4f4f539da64414257b6508783 (patch) | |
tree | 272e246f9a92b345598decf3fd82906830512c1f /Source/Python/WarpXWrappers.cpp | |
parent | 8c94986bd4d2ea286fd4c92f42450588841a1175 (diff) | |
download | WarpX-54bfef675782f4b4f4f539da64414257b6508783.tar.gz WarpX-54bfef675782f4b4f4f539da64414257b6508783.tar.zst WarpX-54bfef675782f4b4f4f539da64414257b6508783.zip |
Overwrite AMReX Defaults: Python (#1177)
Forgot to also overwrite the initialization defines for Python
with my last PR.
Diffstat (limited to '')
-rw-r--r-- | Source/Python/WarpXWrappers.cpp | 5 |
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 |