Skip to content

Commit

Permalink
Remove unneeded const on scalar arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Nov 15, 2023
1 parent 0b5f016 commit 6e78514
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Source/Evolve/WarpXEvolveImplicitPicard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ using namespace amrex;
using ablastr::utils::SignalHandling;

void
WarpX::EvolveImplicitPicardInit (const int lev)
WarpX::EvolveImplicitPicardInit (int lev)
{

if (lev == 0) {
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions Source/WarpX.H
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::array< std::unique_ptr<amrex::MultiFab>, 3 > >& Efield_fp,
amrex::Vector<std::array< std::unique_ptr<amrex::MultiFab>, 3 > >& Efield_n);

Expand Down

0 comments on commit 6e78514

Please sign in to comment.