diff options
Diffstat (limited to 'Source/Parallelization')
-rw-r--r-- | Source/Parallelization/GuardCellManager.cpp | 6 | ||||
-rw-r--r-- | Source/Parallelization/WarpXRegrid.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/Source/Parallelization/GuardCellManager.cpp b/Source/Parallelization/GuardCellManager.cpp index 0ec496861..8e4eca183 100644 --- a/Source/Parallelization/GuardCellManager.cpp +++ b/Source/Parallelization/GuardCellManager.cpp @@ -29,6 +29,12 @@ guardCellManager::Init( const amrex::Array<amrex::Real,3> v_galilean, const bool safe_guard_cells) { +#ifndef WARPX_USE_PSATD + (void)do_fft_mpi_dec; + (void)nox_fft; + (void)noy_fft; + (void)noz_fft; +#endif // When using subcycling, the particles on the fine level perform two pushes // before being redistributed ; therefore, we need one extra guard cell // (the particles may move by 2*c*dt) diff --git a/Source/Parallelization/WarpXRegrid.cpp b/Source/Parallelization/WarpXRegrid.cpp index 7b762606f..5868642f8 100644 --- a/Source/Parallelization/WarpXRegrid.cpp +++ b/Source/Parallelization/WarpXRegrid.cpp @@ -35,7 +35,7 @@ WarpX::LoadBalance () } void -WarpX::RemakeLevel (int lev, Real time, const BoxArray& ba, const DistributionMapping& dm) +WarpX::RemakeLevel (int lev, Real /*time*/, const BoxArray& ba, const DistributionMapping& dm) { if (ba == boxArray(lev)) { |