diff options
Diffstat (limited to 'Source/Particles/WarpXParticleContainer.cpp')
-rw-r--r-- | Source/Particles/WarpXParticleContainer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Particles/WarpXParticleContainer.cpp b/Source/Particles/WarpXParticleContainer.cpp index c4c31a1a1..a3f1ff221 100644 --- a/Source/Particles/WarpXParticleContainer.cpp +++ b/Source/Particles/WarpXParticleContainer.cpp @@ -19,6 +19,7 @@ #include "Deposition/ChargeDeposition.H" #include <AMReX_AmrParGDB.H> +#include <AMReX.H> #include <limits> @@ -557,6 +558,8 @@ WarpXParticleContainer::DepositCharge (amrex::Vector<std::unique_ptr<amrex::Mult if (do_rz_volume_scaling) { WarpX::GetInstance().ApplyInverseVolumeScalingToChargeDensity(rho[lev].get(), lev); } +#else + ignore_unused(do_rz_volume_scaling); #endif // Exchange guard cells |