aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.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/PhotonParticleContainer.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/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 7b08f9430..b78396653 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -86,7 +86,7 @@ PhotonParticleContainer::PushPX (WarpXParIter& pti,
amrex::FArrayBox const * bxfab,
amrex::FArrayBox const * byfab,
amrex::FArrayBox const * bzfab,
- const amrex::IntVect ngE, const int /*e_is_nodal*/,
+ const amrex::IntVect ngEB, const int /*e_is_nodal*/,
const long offset,
const long np_to_push,
int lev, int gather_lev,
@@ -106,7 +106,7 @@ PhotonParticleContainer::PushPX (WarpXParIter& pti,
}
// Add guard cells to the box.
- box.grow(ngE);
+ box.grow(ngEB);
auto& attribs = pti.GetAttribs();