From ca1b886ecb26c8bd20018c4ecfd71a70f11c1d3f Mon Sep 17 00:00:00 2001 From: Edoardo Zoni <59625522+EZoni@users.noreply.github.com> Date: Thu, 10 Feb 2022 17:50:31 -0800 Subject: Rename ngE as ngEB (used for E,B) (#2841) --- Source/Particles/PhotonParticleContainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Particles/PhotonParticleContainer.cpp') 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(); -- cgit v1.2.3