diff options
author | 2019-05-16 18:06:28 -0700 | |
---|---|---|
committer | 2019-05-16 18:06:28 -0700 | |
commit | d3486fee4c20f54b08fd842ac3e760f4bcf28c1d (patch) | |
tree | d0cb45c238f29a04f1aa5e330918caa0c5e8d246 /Source/Utils/WarpXUtil.cpp | |
parent | e357ac13dbe948f1bf550584cf408a4e7cb0f312 (diff) | |
parent | df936db1dea4ae94f325bfe955b658f3f60eef78 (diff) | |
download | WarpX-d3486fee4c20f54b08fd842ac3e760f4bcf28c1d.tar.gz WarpX-d3486fee4c20f54b08fd842ac3e760f4bcf28c1d.tar.zst WarpX-d3486fee4c20f54b08fd842ac3e760f4bcf28c1d.zip |
Merge branch 'dev' into qed_playground
Diffstat (limited to 'Source/Utils/WarpXUtil.cpp')
-rw-r--r-- | Source/Utils/WarpXUtil.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Utils/WarpXUtil.cpp b/Source/Utils/WarpXUtil.cpp index 4ec7ebb51..a5ea6d75a 100644 --- a/Source/Utils/WarpXUtil.cpp +++ b/Source/Utils/WarpXUtil.cpp @@ -118,8 +118,7 @@ void NullifyMF(amrex::MultiFab& mf, int lev, amrex::Real zmin, amrex::Real zmax) const int lo_ind = bx.loVect()[1]; #endif // Check if box intersect with [zmin, zmax] - if ( (zmin>zmin_box && zmin<=zmax_box) || - (zmax>zmin_box && zmax<=zmax_box) ){ + if ( (zmax>zmin_box && zmin<=zmax_box) ){ Array4<Real> arr = mf[mfi].array(); // Set field to 0 between zmin and zmax ParallelFor(bx, |