From 93cdd24708e8e975409daebce758ddbcaaac9325 Mon Sep 17 00:00:00 2001 From: David Grote Date: Wed, 17 Mar 2021 15:41:53 -0700 Subject: Replaced almost all nGrow with nGrowVect (#1801) --- Source/Particles/PhysicalParticleContainer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Source/Particles/PhysicalParticleContainer.cpp') diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 412ed53d4..62e865182 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1067,7 +1067,7 @@ PhysicalParticleContainer::Evolve (int lev, WARPX_PROFILE_VAR_START(blp_fg); PushPX(pti, exfab, eyfab, ezfab, bxfab, byfab, bzfab, - Ex.nGrow(), e_is_nodal, + Ex.nGrowVect(), e_is_nodal, 0, np_gather, lev, lev, dt, ScaleFields(false), a_dt_type); if (np_gather < np) @@ -1101,7 +1101,7 @@ PhysicalParticleContainer::Evolve (int lev, e_is_nodal = cEx->is_nodal() and cEy->is_nodal() and cEz->is_nodal(); PushPX(pti, cexfab, ceyfab, cezfab, cbxfab, cbyfab, cbzfab, - cEx->nGrow(), e_is_nodal, + cEx->nGrowVect(), e_is_nodal, nfine_gather, np-nfine_gather, lev, lev-1, dt, ScaleFields(false), a_dt_type); } @@ -1430,7 +1430,7 @@ PhysicalParticleContainer::PushP (int lev, Real dt, for (WarpXParIter pti(*this, lev); pti.isValid(); ++pti) { amrex::Box box = pti.tilebox(); - box.grow(Ex.nGrow()); + box.grow(Ex.nGrowVect()); const long np = pti.numParticles(); @@ -1749,7 +1749,7 @@ PhysicalParticleContainer::PushPX (WarpXParIter& pti, amrex::FArrayBox const * bxfab, amrex::FArrayBox const * byfab, amrex::FArrayBox const * bzfab, - const int ngE, const int /*e_is_nodal*/, + const amrex::IntVect ngE, const int /*e_is_nodal*/, const long offset, const long np_to_push, int lev, int gather_lev, @@ -1966,7 +1966,7 @@ PhysicalParticleContainer::InitIonizationModule () IonizationFilterFunc PhysicalParticleContainer::getIonizationFunc (const WarpXParIter& pti, int lev, - int ngE, + amrex::IntVect ngE, const amrex::FArrayBox& Ex, const amrex::FArrayBox& Ey, const amrex::FArrayBox& Ez, -- cgit v1.2.3