diff options
author | 2020-01-10 20:57:16 -0800 | |
---|---|---|
committer | 2020-01-10 21:36:51 -0800 | |
commit | 6166de191d0a2b468ea56bacec481e1ff27fcae1 (patch) | |
tree | 63994693f1df766d98ff4b4f045740f0efb3fa04 /Source/WarpX.cpp | |
parent | c049e742014fca3bba78534b7afcc6bcd477aa0e (diff) | |
download | WarpX-6166de191d0a2b468ea56bacec481e1ff27fcae1.tar.gz WarpX-6166de191d0a2b468ea56bacec481e1ff27fcae1.tar.zst WarpX-6166de191d0a2b468ea56bacec481e1ff27fcae1.zip |
Start fixing compilation errors
Diffstat (limited to 'Source/WarpX.cpp')
-rw-r--r-- | Source/WarpX.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/WarpX.cpp b/Source/WarpX.cpp index 50e73d4c1..c591a2856 100644 --- a/Source/WarpX.cpp +++ b/Source/WarpX.cpp @@ -907,7 +907,8 @@ WarpX::AllocLevelMFs (int lev, const BoxArray& ba, const DistributionMapping& dm } #else std::array<Real,3> dx = CellSize(lev); - fdtd_solver_fp[lev].reset( new FiniteDifferenceSolver(dx); ) + fdtd_solver_fp[lev].reset( + new FiniteDifferenceSolver(maxwell_fdtd_solver_id, dx) ); #endif // // The Aux patch (i.e., the full solution) @@ -994,7 +995,8 @@ WarpX::AllocLevelMFs (int lev, const BoxArray& ba, const DistributionMapping& dm } #else std::array<Real,3> dx = CellSize(lev-1); - fdtd_solver_cp[lev].reset( new FiniteDifferenceSolver(dx); ) + fdtd_solver_cp[lev].reset( + new FiniteDifferenceSolver( maxwell_fdtd_solver_id, dx ) ); #endif } |