diff options
author | 2021-03-17 15:41:53 -0700 | |
---|---|---|
committer | 2021-03-17 15:41:53 -0700 | |
commit | 93cdd24708e8e975409daebce758ddbcaaac9325 (patch) | |
tree | 8a10ebd185306f613c4509126e211fd5a6e1ff93 /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 161a0f9af3251aa2691ec90753de70632c5226bc (diff) | |
download | WarpX-93cdd24708e8e975409daebce758ddbcaaac9325.tar.gz WarpX-93cdd24708e8e975409daebce758ddbcaaac9325.tar.zst WarpX-93cdd24708e8e975409daebce758ddbcaaac9325.zip |
Replaced almost all nGrow with nGrowVect (#1801)
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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, |