aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp')
-rw-r--r--Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp b/Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
index b2daf4127..368a4ee96 100644
--- a/Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
+++ b/Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
@@ -20,7 +20,7 @@ PhotonEmissionTransformFunc::
PhotonEmissionTransformFunc (QuantumSynchrotronGetOpticalDepth opt_depth_functor,
int const opt_depth_runtime_comp,
QuantumSynchrotronPhotonEmission const emission_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,
@@ -51,7 +51,7 @@ PhotonEmissionTransformFunc (QuantumSynchrotronGetOpticalDepth opt_depth_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]};