diff options
author | 2019-07-25 20:00:16 +0200 | |
---|---|---|
committer | 2019-07-25 20:00:16 +0200 | |
commit | fb755bd2518d924b138aaf6124f6b7c33d1c118e (patch) | |
tree | 46d27d7620cefa275dc7b40a05874cc835257092 /Source/Initialization/WarpXInitData.cpp | |
parent | 0ca6e6fc94f22df5bd9a436b4701d7d564a70ed7 (diff) | |
download | WarpX-fb755bd2518d924b138aaf6124f6b7c33d1c118e.tar.gz WarpX-fb755bd2518d924b138aaf6124f6b7c33d1c118e.tar.zst WarpX-fb755bd2518d924b138aaf6124f6b7c33d1c118e.zip |
[WIP] First tests for flags on pml. Spurious charges appearing where there use to be corners - source is still to be identified.
Diffstat (limited to 'Source/Initialization/WarpXInitData.cpp')
-rw-r--r-- | Source/Initialization/WarpXInitData.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Initialization/WarpXInitData.cpp b/Source/Initialization/WarpXInitData.cpp index 87904b037..7e7dcec45 100644 --- a/Source/Initialization/WarpXInitData.cpp +++ b/Source/Initialization/WarpXInitData.cpp @@ -134,13 +134,14 @@ WarpX::InitPML () if (do_pml) { pml[0].reset(new PML(boxArray(0), DistributionMap(0), &Geom(0), nullptr, - pml_ncell, pml_delta, 0, do_dive_cleaning, do_moving_window, pml_has_particles, do_pml_in_domain)); + pml_ncell, pml_delta, 0, do_dive_cleaning, do_moving_window, pml_has_particles, do_pml_in_domain, + do_pml_Lo, do_pml_Hi)); for (int lev = 1; lev <= finest_level; ++lev) { pml[lev].reset(new PML(boxArray(lev), DistributionMap(lev), &Geom(lev), &Geom(lev-1), pml_ncell, pml_delta, refRatio(lev-1)[0], do_dive_cleaning, - do_moving_window, pml_has_particles, do_pml_in_domain)); + do_moving_window, pml_has_particles, do_pml_in_domain)); } } } |