aboutsummaryrefslogtreecommitdiff
path: root/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2023-04-06 15:27:11 -0700
committerGravatar GitHub <noreply@github.com> 2023-04-06 15:27:11 -0700
commit34b1039b15ed5c052d34a32c21a97e5fc1113f14 (patch)
tree4412929e82988ae52de7efe11d28ab3ed6fee528 /Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
parent1f859437c45cc7ff5ff3485f595b61bc510642d6 (diff)
downloadWarpX-34b1039b15ed5c052d34a32c21a97e5fc1113f14.tar.gz
WarpX-34b1039b15ed5c052d34a32c21a97e5fc1113f14.tar.zst
WarpX-34b1039b15ed5c052d34a32c21a97e5fc1113f14.zip
Charge on EB: Use `fp` field instead of `aux` (#3809)
Diffstat (limited to 'Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp')
-rw-r--r--Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp b/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
index 86718dfb3..f3b500250 100644
--- a/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
+++ b/Source/Diagnostics/ReducedDiags/ChargeOnEB.cpp
@@ -93,9 +93,9 @@ void ChargeOnEB::ComputeDiags (const int step)
int const lev = 0;
// get MultiFab data at lev
- const amrex::MultiFab & Ex = warpx.getEfield(lev,0);
- const amrex::MultiFab & Ey = warpx.getEfield(lev,1);
- const amrex::MultiFab & Ez = warpx.getEfield(lev,2);
+ const amrex::MultiFab & Ex = warpx.getEfield_fp(lev,0);
+ const amrex::MultiFab & Ey = warpx.getEfield_fp(lev,1);
+ const amrex::MultiFab & Ez = warpx.getEfield_fp(lev,2);
// get EB structures
amrex::EBFArrayBoxFactory const& eb_box_factory = warpx.fieldEBFactory(lev);