aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);