diff options
Diffstat (limited to 'Source/Particles/PhotonParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhotonParticleContainer.cpp | 4 |
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(); |