aboutsummaryrefslogtreecommitdiff
path: root/Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp
diff options
context:
space:
mode:
authorGravatar Edoardo Zoni <59625522+EZoni@users.noreply.github.com> 2020-03-30 08:27:31 -0700
committerGravatar GitHub <noreply@github.com> 2020-03-30 08:27:31 -0700
commit6f356557b114e0716a02539dc5a1687ea9a58195 (patch)
tree1f31878397a9dc2bca90a4815f024689540b4d2d /Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp
parent237cba843348973e8163967bdd63e8af684a8df9 (diff)
downloadWarpX-6f356557b114e0716a02539dc5a1687ea9a58195.tar.gz
WarpX-6f356557b114e0716a02539dc5a1687ea9a58195.tar.zst
WarpX-6f356557b114e0716a02539dc5a1687ea9a58195.zip
Remove compiler warnings (#843)
* Fix compiler warnings with DIM=2 * Fix compiler warnings with USE_RZ=TRUE * Fix compiler warnings with USE_PSATD=TRUE and DIM=2 * Fix compiler warnings with USE_PSATD=TRUE and DIM=3 * Fix bug: discard only return value when calling DefineAndReturnParticleTile * Remove unused variables not triggering warnings
Diffstat (limited to 'Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp')
-rw-r--r--Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp b/Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp
index 9a27c62bd..917cfaf8f 100644
--- a/Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp
+++ b/Source/FieldSolver/FiniteDifferenceSolver/EvolveF.cpp
@@ -68,8 +68,6 @@ void FiniteDifferenceSolver::EvolveFCartesian (
int const rhocomp,
amrex::Real const dt ) {
- Real constexpr c2 = PhysConst::c * PhysConst::c;
-
// Loop through the grids, and over the tiles within each grid
#ifdef _OPENMP
#pragma omp parallel if (amrex::Gpu::notInLaunchRegion())