Skip to content

Commit

Permalink
Fix routine parameter name
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Dec 2, 2024
1 parent 08c1b13 commit d9afee2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/FieldSolver/ImplicitSolvers/WarpXImplicitOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ WarpX::FinishMagneticFieldAndApplyBCs( ablastr::fields::MultiLevelVectorField co
}

void
WarpX::SpectralSourceFreeFieldAdvance (amrex::Real cur_time)
WarpX::SpectralSourceFreeFieldAdvance (amrex::Real a_time)
{
using namespace amrex::literals;
using warpx::fields::FieldType;
Expand All @@ -142,7 +142,7 @@ WarpX::SpectralSourceFreeFieldAdvance (amrex::Real cur_time)
current_fp[1]->setVal(0._rt);
current_fp[2]->setVal(0._rt);
if (rho_fp) { rho_fp->setVal(0._rt); }
PushPSATD(cur_time); // Note that this does dt/2
PushPSATD(a_time); // Note that this does dt/2
FillBoundaryE(guard_cells.ng_alloc_EB, WarpX::sync_nodal_points);
FillBoundaryB(guard_cells.ng_alloc_EB, WarpX::sync_nodal_points);

Expand Down

0 comments on commit d9afee2

Please sign in to comment.