aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhysicalParticleContainer.cpp
diff options
context:
space:
mode:
authorGravatar MaxThevenet <mthevenet@lbl.gov> 2019-05-24 07:36:21 -0700
committerGravatar GitHub <noreply@github.com> 2019-05-24 07:36:21 -0700
commit329d340881a5c1fd6cb70369ae517ee42d79ca33 (patch)
tree9e46428724b176756252f91ff3da63a579f0770d /Source/Particles/PhysicalParticleContainer.cpp
parent62b03c30d50899f3c7c334f06c7cee7ad8c55543 (diff)
parentfe37f932e428846473d75d1cad5962546f3fecac (diff)
downloadWarpX-329d340881a5c1fd6cb70369ae517ee42d79ca33.tar.gz
WarpX-329d340881a5c1fd6cb70369ae517ee42d79ca33.tar.zst
WarpX-329d340881a5c1fd6cb70369ae517ee42d79ca33.zip
Merge pull request #161 from ECP-WarpX/compiler_warnings
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);