diff options
author | 2020-10-02 14:11:31 -0700 | |
---|---|---|
committer | 2020-10-02 14:11:31 -0700 | |
commit | 5d661dc137e078e0b94fa72b794bab487ecd5b43 (patch) | |
tree | 12ec3785c41039c535c5af372441d7a0061d9383 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp | |
parent | a3e6d05ebc79201d0c4fe2904741e3b7080532f6 (diff) | |
download | WarpX-5d661dc137e078e0b94fa72b794bab487ecd5b43.tar.gz WarpX-5d661dc137e078e0b94fa72b794bab487ecd5b43.tar.zst WarpX-5d661dc137e078e0b94fa72b794bab487ecd5b43.zip |
Fix some warnings for PSATD builds (#1401)
* Fix warnings for 2D/3D PSATD builds
* Fix warnings for RZ PSATD builds
* Update FIXME comment: no known bug
* Fix remaining warning for RZ PSATD builds
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp index 3354384f0..46e9b50f7 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/SpectralBaseAlgorithm.cpp @@ -43,7 +43,6 @@ SpectralBaseAlgorithm::ComputeSpectralDivE ( ParallelFor(bx, [=] AMREX_GPU_DEVICE(int i, int j, int k) noexcept { - using Idx = SpectralFieldIndex; // Shortcuts for the components of E const Complex Ex = fields(i,j,k,Idx::Ex); const Complex Ey = fields(i,j,k,Idx::Ey); |