diff options
Diffstat (limited to 'Source/main.cpp')
-rw-r--r-- | Source/main.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/main.cpp b/Source/main.cpp index 4bbdce2da..75169bbb5 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -7,16 +7,14 @@ * License: BSD-3-Clause-LBNL */ #include "WarpX.H" +#include "Initialization/WarpXAMReXInit.H" #include "Utils/WarpXUtil.H" #include "Utils/WarpXProfilerWrapper.H" #include <AMReX.H> -#include <AMReX_ParmParse.H> #include <AMReX_BLProfiler.H> #include <AMReX_ParallelDescriptor.H> -#include <iostream> - int main(int argc, char* argv[]) { @@ -32,7 +30,7 @@ int main(int argc, char* argv[]) # endif #endif - amrex::Initialize(argc,argv); + warpx_amrex_init(argc, argv); // in Debug mode, we need a larger stack limit than usual bc of the parser. #if defined(AMREX_USE_CUDA) && defined(AMREX_DEBUG) |