aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2022-02-10 17:50:31 -0800
committerGravatar GitHub <noreply@github.com> 2022-02-11 01:50:31 +0000
commitca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f (patch)
tree6b1bf10bec59dcc1423e70f2b6a2d0bf654ac823 /Source/Particles/ElementaryProcess/QEDPhotonEmission.cpp
parent06a57c95ae826241919bee96931a4007dac1a38b (diff)
downloadWarpX-ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f.tar.gz
WarpX-ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f.tar.zst
WarpX-ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f.zip
Rename ngE as ngEB (used for E,B) (#2841)
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]};