diff options
author | 2020-02-27 14:30:03 -0800 | |
---|---|---|
committer | 2020-02-27 14:30:03 -0800 | |
commit | 4d961b7eb3c7a75947eac0343f473167273d18eb (patch) | |
tree | 0fb7df207ed3b7b23ecc04061f5ea155cdf84e3e /Source/Particles/PhysicalParticleContainer.cpp | |
parent | 39e33128cd32338d20a2e7fa7287e44c64c8699c (diff) | |
download | WarpX-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/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 3953bb243..1be96a4a6 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -1110,7 +1110,7 @@ PhysicalParticleContainer::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) { WARPX_PROFILE("PPC::Evolve()"); WARPX_PROFILE_VAR_NS("PPC::Evolve::Copy", blp_copy); @@ -2178,7 +2178,7 @@ PhysicalParticleContainer::FieldGather (WarpXParIter& pti, amrex::FArrayBox const * bxfab, amrex::FArrayBox const * byfab, amrex::FArrayBox const * bzfab, - const int ngE, const int e_is_nodal, + const int ngE, const int /*e_is_nodal*/, const long offset, const long np_to_gather, int lev, |