Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiLehe committed Sep 18, 2024
1 parent 4608c21 commit 2a5534e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ void HybridPICModel::CalculateCurrentAmpere (
WARPX_PROFILE("WarpX::CalculateCurrentAmpere()");

auto& warpx = WarpX::GetInstance();
ablastr::fields::VectorField current_fp_ampere = warpx.m_fields.get_alldirs("hybrid_current_fp_ampere", warpx.finestLevel());
ablastr::fields::VectorField current_fp_ampere = warpx.m_fields.get_alldirs("hybrid_current_fp_ampere", lev);
warpx.get_pointer_fdtd_solver_fp(lev)->CalculateCurrentAmpere(
current_fp_ampere, Bfield, edge_lengths, lev
);
Expand Down Expand Up @@ -463,7 +463,6 @@ void HybridPICModel::HybridPICSolveE (
const int lev, PatchType patch_type,
const bool solve_for_Faraday) const
{
using ablastr::fields::va2vm;

auto& warpx = WarpX::GetInstance();

Expand Down

0 comments on commit 2a5534e

Please sign in to comment.