Skip to content

Commit

Permalink
Fix fetch of Efield_fp
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Nov 4, 2024
1 parent 71583a3 commit 608c7f2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/FieldSolver/ImplicitSolvers/WarpXImplicitOps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ WarpX::ImplicitPreRHSOp ( amrex::Real a_cur_time,
bool a_from_jacobian )
{
using namespace amrex::literals;
using warpx::fields::FieldType;
amrex::ignore_unused( a_full_dt, a_nl_iter, a_from_jacobian );

if (use_filter) { ApplyFilterMF(Efield_fp, 0); }
if (use_filter) { ApplyFilterMF(m_fields.get_mr_levels_alldirs(FieldType::Efield_fp, finest_level), 0); }

// Advance the particle positions by 1/2 dt,
// particle velocities by dt, then take average of old and new v,
Expand Down

0 comments on commit 608c7f2

Please sign in to comment.