From e0de0b37e30cff1a70bca2e88b7bf04ac28e6cb2 Mon Sep 17 00:00:00 2001 From: David Grote Date: Sat, 31 Aug 2024 11:23:24 -0700 Subject: [PATCH] Bug fix in WarpXParticleContainer.cpp --- Source/Particles/WarpXParticleContainer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index ae57d846cf5..b650604b7e4 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -1287,7 +1287,7 @@ WarpXParticleContainer::DepositCharge (std::unique_ptr& rho, ); } -#if defined(WARPX_DIM_RZ) || defined(WARPX_DIM_RCYLINDER) +#if !defined(WARPX_DIM_RZ) && !defined(WARPX_DIM_RCYLINDER) if (apply_boundary_and_scale_volume) { // Reflect density over PEC boundaries, if needed.