Skip to content

Commit

Permalink
small comment fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinRayAngus committed Aug 24, 2024
1 parent 8437948 commit 95e19e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/FieldSolver/ImplicitSolvers/SemiImplicitEM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ void SemiImplicitEM::OneStep ( amrex::Real a_time,

// Solve nonlinear system for Eg at t_{n+1/2}
// Particles will be advanced to t_{n+1/2}
m_E.Copy( m_Eold ); // initial guess for Eg
m_E.Copy( m_Eold ); // initial guess for Eg^{n+1/2}
m_nlsolver->Solve( m_E, m_Eold, half_time, a_dt );

// Update WarpX owned Efield_fp to t_{n+1/2}
Expand Down
2 changes: 1 addition & 1 deletion Source/FieldSolver/ImplicitSolvers/ThetaImplicitEM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void ThetaImplicitEM::OneStep ( const amrex::Real a_time,

// Solve nonlinear system for Eg at t_{n+theta}
// Particles will be advanced to t_{n+1/2}
m_E.Copy( m_Eold ); // initial guess for Eg
m_E.Copy( m_Eold ); // initial guess for Eg^{n+theta}
m_nlsolver->Solve( m_E, m_Eold, theta_time, a_dt );

// Update WarpX owned Efield_fp and Bfield_fp to t_{n+theta}
Expand Down

0 comments on commit 95e19e6

Please sign in to comment.