From 266f2a28b80a5aada004a24c72b9de59af15533b Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Thu, 17 Sep 2020 20:09:08 +0200 Subject: 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 <> * Update Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp Co-authored-by: Axel Huebl Co-authored-by: Axel Huebl --- Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'Source/FieldSolver/FiniteDifferenceSolver/MacroscopicEvolveE.cpp') 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 const& sigma_stag = macroscopic_properties->sigma_IndexType; amrex::GpuArray const& epsilon_stag = macroscopic_properties->epsilon_IndexType; - amrex::GpuArray const& mu_stag = macroscopic_properties->mu_IndexType; amrex::GpuArray const& Ex_stag = macroscopic_properties->Ex_IndexType; amrex::GpuArray const& Ey_stag = macroscopic_properties->Ey_IndexType; amrex::GpuArray const& Ez_stag = macroscopic_properties->Ez_IndexType; -- cgit v1.2.3