From 6e78514c80cc896b0d59d131ec215af0ecefb15e Mon Sep 17 00:00:00 2001 From: Dave Grote Date: Tue, 14 Nov 2023 18:16:31 -0800 Subject: [PATCH] Remove unneeded const on scalar arguments --- Source/Evolve/WarpXEvolveImplicitPicard.cpp | 6 +++--- Source/WarpX.H | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Evolve/WarpXEvolveImplicitPicard.cpp b/Source/Evolve/WarpXEvolveImplicitPicard.cpp index b687451dd72..ee6d8df2d90 100644 --- a/Source/Evolve/WarpXEvolveImplicitPicard.cpp +++ b/Source/Evolve/WarpXEvolveImplicitPicard.cpp @@ -54,7 +54,7 @@ using namespace amrex; using ablastr::utils::SignalHandling; void -WarpX::EvolveImplicitPicardInit (const int lev) +WarpX::EvolveImplicitPicardInit (int lev) { if (lev == 0) { @@ -418,7 +418,7 @@ WarpX::EvolveImplicitPicard (int numsteps) } void -WarpX::SaveParticlesAtStepStart (WarpXParticleContainer& pc, const int lev) +WarpX::SaveParticlesAtStepStart (WarpXParticleContainer& pc, int lev) { #ifdef AMREX_USE_OMP @@ -474,7 +474,7 @@ WarpX::SaveParticlesAtStepStart (WarpXParticleContainer& pc, const int lev) } void -WarpX::FinishImplicitParticleUpdate (WarpXParticleContainer& pc, const int lev) +WarpX::FinishImplicitParticleUpdate (WarpXParticleContainer& pc, int lev) { #ifdef AMREX_USE_OMP diff --git a/Source/WarpX.H b/Source/WarpX.H index 5d7aa9b9da1..b36064993c8 100644 --- a/Source/WarpX.H +++ b/Source/WarpX.H @@ -121,9 +121,9 @@ public: void EvolveExplicit (int numsteps = -1); void EvolveImplicitPicard (int numsteps = -1); - void EvolveImplicitPicardInit (const int lev); - void SaveParticlesAtStepStart (WarpXParticleContainer& pc, const int lev); - void FinishImplicitParticleUpdate (WarpXParticleContainer& pc, const int lev); + void EvolveImplicitPicardInit (int lev); + void SaveParticlesAtStepStart (WarpXParticleContainer& pc, int lev); + void FinishImplicitParticleUpdate (WarpXParticleContainer& pc, int lev); void FinishImplicitFieldUpdate(amrex::Vector, 3 > >& Efield_fp, amrex::Vector, 3 > >& Efield_n);