diff options
author | 2020-09-18 21:56:20 +0200 | |
---|---|---|
committer | 2020-09-18 12:56:20 -0700 | |
commit | 789f0da95e409b035cfffcacbb75dc847243e30a (patch) | |
tree | a673df1504710574cd694c2939952e8320bae610 /Source/FieldSolver/WarpXPushFieldsEM.cpp | |
parent | edd428ffcdc02190cfc1b6d1e848af6cc6285939 (diff) | |
download | WarpX-789f0da95e409b035cfffcacbb75dc847243e30a.tar.gz WarpX-789f0da95e409b035cfffcacbb75dc847243e30a.tar.zst WarpX-789f0da95e409b035cfffcacbb75dc847243e30a.zip |
fix warnings in RZ (#1349)
Diffstat (limited to 'Source/FieldSolver/WarpXPushFieldsEM.cpp')
-rw-r--r-- | Source/FieldSolver/WarpXPushFieldsEM.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/FieldSolver/WarpXPushFieldsEM.cpp b/Source/FieldSolver/WarpXPushFieldsEM.cpp index 7043ad809..a2789996e 100644 --- a/Source/FieldSolver/WarpXPushFieldsEM.cpp +++ b/Source/FieldSolver/WarpXPushFieldsEM.cpp @@ -391,7 +391,7 @@ WarpX::ApplyInverseVolumeScalingToCurrentDensity (MultiFab* Jx, MultiFab* Jy, Mu // Rescale current in r-z mode since the inverse volume factor was not // included in the current deposition. amrex::ParallelFor(tbr, tbt, tbz, - [=] AMREX_GPU_DEVICE (int i, int j, int k) + [=] AMREX_GPU_DEVICE (int i, int j, int /*k*/) { // Wrap the current density deposited in the guard cells around // to the cells above the axis. @@ -420,7 +420,7 @@ WarpX::ApplyInverseVolumeScalingToCurrentDensity (MultiFab* Jx, MultiFab* Jy, Mu Jr_arr(i,j,0,2*imode) /= (2.*MathConst::pi*r); } }, - [=] AMREX_GPU_DEVICE (int i, int j, int k) + [=] AMREX_GPU_DEVICE (int i, int j, int /*k*/) { // Wrap the current density deposited in the guard cells around // to the cells above the axis. @@ -458,7 +458,7 @@ WarpX::ApplyInverseVolumeScalingToCurrentDensity (MultiFab* Jx, MultiFab* Jy, Mu } } }, - [=] AMREX_GPU_DEVICE (int i, int j, int k) + [=] AMREX_GPU_DEVICE (int i, int j, int /*k*/) { // Wrap the current density deposited in the guard cells around // to the cells above the axis. @@ -543,7 +543,7 @@ WarpX::ApplyInverseVolumeScalingToChargeDensity (MultiFab* Rho, int lev) // Note that the loop is also over ncomps, which takes care of the RZ modes, // as well as the old and new rho. amrex::ParallelFor(tb, Rho->nComp(), - [=] AMREX_GPU_DEVICE (int i, int j, int k, int icomp) + [=] AMREX_GPU_DEVICE (int i, int j, int /*k*/, int icomp) { // Wrap the charge density deposited in the guard cells around // to the cells above the axis. |