aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/PhotonParticleContainer.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/Particles/PhotonParticleContainer.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/Particles/PhotonParticleContainer.cpp')
-rw-r--r--Source/Particles/PhotonParticleContainer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhotonParticleContainer.cpp b/Source/Particles/PhotonParticleContainer.cpp
index 0f0eb2284..67efb127f 100644
--- a/Source/Particles/PhotonParticleContainer.cpp
+++ b/Source/Particles/PhotonParticleContainer.cpp
@@ -56,7 +56,7 @@ void PhotonParticleContainer::InitData()
}
void
-PhotonParticleContainer::PushPX(WarpXParIter& pti, Real dt, DtType a_dt_type)
+PhotonParticleContainer::PushPX(WarpXParIter& pti, Real dt, DtType /*a_dt_type*/)
{
// This wraps the momentum and position advance so that inheritors can modify the call.
@@ -101,7 +101,7 @@ PhotonParticleContainer::Evolve (int lev,
MultiFab* rho, MultiFab* crho,
const MultiFab* cEx, const MultiFab* cEy, const MultiFab* cEz,
const MultiFab* cBx, const MultiFab* cBy, const MultiFab* cBz,
- Real t, Real dt, DtType a_dt_type)
+ Real t, Real dt, DtType /*a_dt_type*/)
{
// This does gather, push and depose.
// Push and depose have been re-written for photon,