aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/ElementaryProcess/QEDPairGeneration.cpp')
-rw-r--r--Source/Particles/ElementaryProcess/QEDPairGeneration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp b/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
index 9d5876ef3..52134ca81 100644
--- a/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
+++ b/Source/Particles/ElementaryProcess/QEDPairGeneration.cpp
@@ -19,7 +19,7 @@
PairGenerationTransformFunc::
PairGenerationTransformFunc (BreitWheelerGeneratePairs const generate_functor,
- const WarpXParIter& a_pti, int lev, amrex::IntVect ngE,
+ const WarpXParIter& a_pti, int lev, amrex::IntVect ngEB,
amrex::FArrayBox const& exfab,
amrex::FArrayBox const& eyfab,
amrex::FArrayBox const& ezfab,
@@ -48,7 +48,7 @@ PairGenerationTransformFunc (BreitWheelerGeneratePairs const generate_functor,
m_bz_type = bzfab.box().ixType();
amrex::Box box = a_pti.tilebox();
- box.grow(ngE);
+ box.grow(ngEB);
const std::array<amrex::Real,3>& dx = WarpX::CellSize(std::max(lev, 0));
m_dx_arr = {dx[0], dx[1], dx[2]};