Skip to content

Commit

Permalink
updating comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinRayAngus committed Nov 24, 2024
1 parent 1b38a5c commit a1a3a62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Source/FieldSolver/ImplicitSolvers/SemiImplicitEM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ void SemiImplicitEM::OneStep ( amrex::Real a_time,
// Set the member time step
m_dt = a_dt;

// Fields have Eg^{n}, Bg^{n-1/2}
// Fields have Eg^{n}, Bg^{n}
// Particles have up^{n} and xp^{n}.

// Save up and xp at the start of the time step
Expand Down Expand Up @@ -93,7 +93,6 @@ void SemiImplicitEM::OneStep ( amrex::Real a_time,
m_WarpX->SetElectricFieldAndApplyBCs( m_E );

// Advance WarpX owned Bfield_fp from t_{n+1/2} to t_{n+1}
//m_WarpX->EvolveB(0.5_rt*m_dt, DtType::Full);
m_WarpX->EvolveB(0.5_rt*m_dt, DtType::SecondHalf);
m_WarpX->FillBoundaryB(m_WarpX->getngEB(), true);

Expand Down

0 comments on commit a1a3a62

Please sign in to comment.