diff options
author | 2020-08-24 23:14:30 +0200 | |
---|---|---|
committer | 2020-08-24 14:14:30 -0700 | |
commit | bb58c764f9f21f8baac5e2fb1d81fed4983d1242 (patch) | |
tree | 3e1f5914d8f1e2be1168b79509718719745ebb93 /Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp | |
parent | 78f9be325d894bbae867aa279efdfd2212690825 (diff) | |
download | WarpX-bb58c764f9f21f8baac5e2fb1d81fed4983d1242.tar.gz WarpX-bb58c764f9f21f8baac5e2fb1d81fed4983d1242.tar.zst WarpX-bb58c764f9f21f8baac5e2fb1d81fed4983d1242.zip |
Fix some warnings (#1239)
This PR fixes the source of several compilation warnings.
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
Diffstat (limited to 'Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp')
-rw-r--r-- | Source/FieldSolver/SpectralSolver/SpectralAlgorithms/PMLPsatdAlgorithm.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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<std::unique_ptr<amrex::MultiFab>,3>& current, - const std::unique_ptr<amrex::MultiFab>& rho) +PMLPsatdAlgorithm::CurrentCorrection (SpectralFieldData& /*field_data*/, + std::array<std::unique_ptr<amrex::MultiFab>,3>& /*current*/, + const std::unique_ptr<amrex::MultiFab>& /*rho*/) { amrex::Abort("Current correction not implemented for PML PSATD"); } void -PMLPsatdAlgorithm::VayDeposition (SpectralFieldData& field_data, - std::array<std::unique_ptr<amrex::MultiFab>,3>& current) +PMLPsatdAlgorithm::VayDeposition (SpectralFieldData& /*field_data*/, + std::array<std::unique_ptr<amrex::MultiFab>,3>& /*current*/) { amrex::Abort("Vay deposition not implemented for PML PSATD"); } |