aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXUtil.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-05-14 07:24:06 -0700
committerGravatar MaxThevenet <mthevenet@lbl.gov> 2019-05-14 07:24:06 -0700
commit7d45297529f91e5a97ea6515a3c80698a1f9772f (patch)
treedf4daae0c327c6423f9fec28cb8e0279b16a74c8 /Source/Utils/WarpXUtil.cpp
parente6e1f4f675a2797f63e7d8893780edb58d056c11 (diff)
downloadWarpX-7d45297529f91e5a97ea6515a3c80698a1f9772f.tar.gz
WarpX-7d45297529f91e5a97ea6515a3c80698a1f9772f.tar.zst
WarpX-7d45297529f91e5a97ea6515a3c80698a1f9772f.zip
cleaning
Diffstat (limited to 'Source/Utils/WarpXUtil.cpp')
-rw-r--r--Source/Utils/WarpXUtil.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Utils/WarpXUtil.cpp b/Source/Utils/WarpXUtil.cpp
index 45b9d59f1..a5ea6d75a 100644
--- a/Source/Utils/WarpXUtil.cpp
+++ b/Source/Utils/WarpXUtil.cpp
@@ -118,8 +118,6 @@ 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