aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/WarpX_QED_Field_Pushers.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2020-04-06 15:45:03 -0700
committerGravatar GitHub <noreply@github.com> 2020-04-06 15:45:03 -0700
commitc971d8814d567377aff7cda59e7cf55a457e8064 (patch)
treee0a513e8df6f765919b368d42c54df02c0fbbf52 /Source/FieldSolver/WarpX_QED_Field_Pushers.cpp
parent98fe23a2da442010a515b284755307a635b038b8 (diff)
downloadWarpX-c971d8814d567377aff7cda59e7cf55a457e8064.tar.gz
WarpX-c971d8814d567377aff7cda59e7cf55a457e8064.tar.zst
WarpX-c971d8814d567377aff7cda59e7cf55a457e8064.zip
replace ixType().ixType() with ixType().toIntVect() for clarity (#895)
Diffstat (limited to 'Source/FieldSolver/WarpX_QED_Field_Pushers.cpp')
-rw-r--r--Source/FieldSolver/WarpX_QED_Field_Pushers.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/FieldSolver/WarpX_QED_Field_Pushers.cpp b/Source/FieldSolver/WarpX_QED_Field_Pushers.cpp
index 4aece5178..06684a5c0 100644
--- a/Source/FieldSolver/WarpX_QED_Field_Pushers.cpp
+++ b/Source/FieldSolver/WarpX_QED_Field_Pushers.cpp
@@ -106,17 +106,17 @@ WarpX::Hybrid_QED_Push (int lev, PatchType patch_type, Real a_dt)
// Get boxes for E, B, and J
- const Box& tbx = mfi.tilebox(Bx->ixType().ixType());
- const Box& tby = mfi.tilebox(By->ixType().ixType());
- const Box& tbz = mfi.tilebox(Bz->ixType().ixType());
+ const Box& tbx = mfi.tilebox(Bx->ixType().toIntVect());
+ const Box& tby = mfi.tilebox(By->ixType().toIntVect());
+ const Box& tbz = mfi.tilebox(Bz->ixType().toIntVect());
- const Box& tex = mfi.tilebox(Ex->ixType().ixType());
- const Box& tey = mfi.tilebox(Ey->ixType().ixType());
- const Box& tez = mfi.tilebox(Ez->ixType().ixType());
+ const Box& tex = mfi.tilebox(Ex->ixType().toIntVect());
+ const Box& tey = mfi.tilebox(Ey->ixType().toIntVect());
+ const Box& tez = mfi.tilebox(Ez->ixType().toIntVect());
- const Box& tjx = mfi.tilebox(Jx->ixType().ixType());
- const Box& tjy = mfi.tilebox(Jy->ixType().ixType());
- const Box& tjz = mfi.tilebox(Jz->ixType().ixType());
+ const Box& tjx = mfi.tilebox(Jx->ixType().toIntVect());
+ const Box& tjy = mfi.tilebox(Jy->ixType().toIntVect());
+ const Box& tjz = mfi.tilebox(Jz->ixType().toIntVect());
// Get field arrays
auto const& Bxfab = Bx->array(mfi);