diff options
author | 2020-04-06 15:45:03 -0700 | |
---|---|---|
committer | 2020-04-06 15:45:03 -0700 | |
commit | c971d8814d567377aff7cda59e7cf55a457e8064 (patch) | |
tree | e0a513e8df6f765919b368d42c54df02c0fbbf52 /Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp | |
parent | 98fe23a2da442010a515b284755307a635b038b8 (diff) | |
download | WarpX-c971d8814d567377aff7cda59e7cf55a457e8064.tar.gz WarpX-c971d8814d567377aff7cda59e7cf55a457e8064.tar.zst WarpX-c971d8814d567377aff7cda59e7cf55a457e8064.zip |
replace ixType().ixType() with ixType().toIntVect() for clarity (#895)
Diffstat (limited to 'Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp')
-rw-r--r-- | Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp b/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp index 22067b7b6..09aa9df48 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp +++ b/Source/FieldSolver/FiniteDifferenceSolver/EvolveE.cpp @@ -96,9 +96,9 @@ void FiniteDifferenceSolver::EvolveECartesian ( int const n_coefs_z = m_stencil_coefs_z.size(); // Extract tileboxes for which to loop - Box const& tex = mfi.tilebox(Efield[0]->ixType().ixType()); - Box const& tey = mfi.tilebox(Efield[1]->ixType().ixType()); - Box const& tez = mfi.tilebox(Efield[2]->ixType().ixType()); + Box const& tex = mfi.tilebox(Efield[0]->ixType().toIntVect()); + Box const& tey = mfi.tilebox(Efield[1]->ixType().toIntVect()); + Box const& tez = mfi.tilebox(Efield[2]->ixType().toIntVect()); // Loop over the cells and update the fields amrex::ParallelFor(tex, tey, tez, @@ -193,9 +193,9 @@ void FiniteDifferenceSolver::EvolveECylindrical ( Real const rmin = m_rmin; // Extract tileboxes for which to loop - Box const& ter = mfi.tilebox(Efield[0]->ixType().ixType()); - Box const& tet = mfi.tilebox(Efield[1]->ixType().ixType()); - Box const& tez = mfi.tilebox(Efield[2]->ixType().ixType()); + Box const& ter = mfi.tilebox(Efield[0]->ixType().toIntVect()); + Box const& tet = mfi.tilebox(Efield[1]->ixType().toIntVect()); + Box const& tez = mfi.tilebox(Efield[2]->ixType().toIntVect()); Real const c2 = PhysConst::c * PhysConst::c; |