diff options
author | 2019-05-14 07:23:14 -0700 | |
---|---|---|
committer | 2019-05-14 07:23:14 -0700 | |
commit | e6e1f4f675a2797f63e7d8893780edb58d056c11 (patch) | |
tree | e4d8eb4f6f856112c2e925646058793228478941 /Source/Utils/WarpXUtil.cpp | |
parent | feaa2f04451b660e38afd001a66b71f9007329c8 (diff) | |
download | WarpX-e6e1f4f675a2797f63e7d8893780edb58d056c11.tar.gz WarpX-e6e1f4f675a2797f63e7d8893780edb58d056c11.tar.zst WarpX-e6e1f4f675a2797f63e7d8893780edb58d056c11.zip |
fix mirror
Diffstat (limited to 'Source/Utils/WarpXUtil.cpp')
-rw-r--r-- | Source/Utils/WarpXUtil.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Utils/WarpXUtil.cpp b/Source/Utils/WarpXUtil.cpp index 4ec7ebb51..45b9d59f1 100644 --- a/Source/Utils/WarpXUtil.cpp +++ b/Source/Utils/WarpXUtil.cpp @@ -118,8 +118,9 @@ 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 ( (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, |