diff options
author | 2020-09-17 20:09:08 +0200 | |
---|---|---|
committer | 2020-09-17 11:09:08 -0700 | |
commit | 266f2a28b80a5aada004a24c72b9de59af15533b (patch) | |
tree | 641b39f1927e5a27944d02551f9a772e83b7c346 /Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp | |
parent | 8d9193675b3292571478803fbe55f6831afe454b (diff) | |
download | WarpX-266f2a28b80a5aada004a24c72b9de59af15533b.tar.gz WarpX-266f2a28b80a5aada004a24c72b9de59af15533b.tar.zst WarpX-266f2a28b80a5aada004a24c72b9de59af15533b.zip |
Fix few compilation warnings (shift) (#1310)
* fix << declaration of galilean_shift shadows a member of WarpX >>
* fix << unused mu_stag >>
* fix << unused uxp, uyp, uzp >>
* renamed galilean_shift (member variable of WarpX class) into m_galilean_shift
* renamed v_galilean to m_v_galilean when appropriate
* fixed bug introduced in latest commit
* fix <<comparison of integer expressions of different signedness>>
* Update Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp')
-rw-r--r-- | Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp b/Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp index 7212b6276..dd0a48c0b 100644 --- a/Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp +++ b/Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp @@ -84,7 +84,6 @@ void FiniteDifferenceSolver::MacroscopicEvolveECartesian ( // properties from their respective staggering to the Ex, Ey, Ez locations amrex::GpuArray<int, 3> const& sigma_stag = macroscopic_properties->sigma_IndexType; amrex::GpuArray<int, 3> const& epsilon_stag = macroscopic_properties->epsilon_IndexType; - amrex::GpuArray<int, 3> const& mu_stag = macroscopic_properties->mu_IndexType; amrex::GpuArray<int, 3> const& Ex_stag = macroscopic_properties->Ex_IndexType; amrex::GpuArray<int, 3> const& Ey_stag = macroscopic_properties->Ey_IndexType; amrex::GpuArray<int, 3> const& Ez_stag = macroscopic_properties->Ez_IndexType; |