Skip to content

Commit

Permalink
Bug fix in WarpXParticleContainer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Aug 31, 2024
1 parent a9274ee commit e0de0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Particles/WarpXParticleContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1287,7 +1287,7 @@ WarpXParticleContainer::DepositCharge (std::unique_ptr<amrex::MultiFab>& 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.
Expand Down

0 comments on commit e0de0b3

Please sign in to comment.