aboutsummaryrefslogtreecommitdiff
path: root/Source/Parallelization/GuardCellManager.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2020-02-27 14:30:03 -0800
committerGravatar GitHub <noreply@github.com> 2020-02-27 14:30:03 -0800
commit4d961b7eb3c7a75947eac0343f473167273d18eb (patch)
tree0fb7df207ed3b7b23ecc04061f5ea155cdf84e3e /Source/Parallelization/GuardCellManager.cpp
parent39e33128cd32338d20a2e7fa7287e44c64c8699c (diff)
downloadWarpX-4d961b7eb3c7a75947eac0343f473167273d18eb.tar.gz
WarpX-4d961b7eb3c7a75947eac0343f473167273d18eb.tar.zst
WarpX-4d961b7eb3c7a75947eac0343f473167273d18eb.zip
Comment/Remove Unused Parameters (#749)
Use the `clang-tidy` pass `misc-unused-parameters` to remove unused parameter warnings. https://clang.llvm.org/extra/clang-tidy/checks/misc-unused-parameters.html) Committed as generic user so git does not credit the many lines to me: ```bash GIT_AUTHOR_NAME="Tools" GIT_AUTHOR_EMAIL="warpx@lbl.gov" \ git commit ```
Diffstat (limited to 'Source/Parallelization/GuardCellManager.cpp')
-rw-r--r--Source/Parallelization/GuardCellManager.cpp6
1 files changed, 6 insertions, 0 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)