aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar Andrew Myers <atmyers2@gmail.com> 2019-05-23 15:27:17 -0700
committerGravatar Andrew Myers <atmyers2@gmail.com> 2019-05-23 15:27:17 -0700
commit5308cbefa8fbde30bed8a88943d58ec646731d9e (patch)
treedd148cd6c54b121aeb29c2c8413adf495f643f45 /Source/Particles/PhysicalParticleContainer.cpp
parent62b03c30d50899f3c7c334f06c7cee7ad8c55543 (diff)
downloadWarpX-5308cbefa8fbde30bed8a88943d58ec646731d9e.tar.gz
WarpX-5308cbefa8fbde30bed8a88943d58ec646731d9e.tar.zst
WarpX-5308cbefa8fbde30bed8a88943d58ec646731d9e.zip
fix a bunch of unused variable / parameter shadowing warnings
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r--Source/Particles/PhysicalParticleContainer.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp
index 37c136a3d..212084e64 100644
--- a/Source/Particles/PhysicalParticleContainer.cpp
+++ b/Source/Particles/PhysicalParticleContainer.cpp
@@ -1024,9 +1024,6 @@ PhysicalParticleContainer::FieldGather (int lev,
{
const std::array<Real,3>& dx = WarpX::CellSize(lev);
- // WarpX assumes the same number of guard cells for Ex, Ey, Ez, Bx, By, Bz
- long ng = Ex.nGrow();
-
BL_ASSERT(OnSameGrids(lev,Ex));
MultiFab* cost = WarpX::getCosts(lev);