From bb58c764f9f21f8baac5e2fb1d81fed4983d1242 Mon Sep 17 00:00:00 2001 From: Luca Fedeli Date: Mon, 24 Aug 2020 23:14:30 +0200 Subject: Fix some warnings (#1239) This PR fixes the source of several compilation warnings. Co-authored-by: Axel Huebl --- .../SpectralAlgorithms/PMLPsatdAlgorithm.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp') diff --git a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp index 4bc147cd8..e1be557fe 100644 --- a/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp +++ b/Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp @@ -103,7 +103,7 @@ PMLPsatdAlgorithm::pushSpectralFields(SpectralFieldData& f) const{ fields(i,j,k,Idx::Bzy) = C*fields(i,j,k,Idx::Bzy) + S_ck*I*ky*Ex_old; }); } -}; +} void PMLPsatdAlgorithm::InitializeSpectralCoefficients ( const SpectralKSpace& spectral_kspace, @@ -153,19 +153,19 @@ void PMLPsatdAlgorithm::InitializeSpectralCoefficients ( } }); } -}; +} void -PMLPsatdAlgorithm::CurrentCorrection (SpectralFieldData& field_data, - std::array,3>& current, - const std::unique_ptr& rho) +PMLPsatdAlgorithm::CurrentCorrection (SpectralFieldData& /*field_data*/, + std::array,3>& /*current*/, + const std::unique_ptr& /*rho*/) { amrex::Abort("Current correction not implemented for PML PSATD"); } void -PMLPsatdAlgorithm::VayDeposition (SpectralFieldData& field_data, - std::array,3>& current) +PMLPsatdAlgorithm::VayDeposition (SpectralFieldData& /*field_data*/, + std::array,3>& /*current*/) { amrex::Abort("Vay deposition not implemented for PML PSATD"); } -- cgit v1.2.3