Skip to content

Commit

Permalink
Fix for HybridPIC, fixing name passed into SyncCurrent
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Sep 18, 2024
1 parent 2a5534e commit ede7a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/FieldSolver/WarpXPushFieldsHybridPIC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ void WarpX::HybridPICDepositInitialRhoAndJ ()
mypc->DepositCharge(rho_fp_temp, 0._rt);
mypc->DepositCurrent(current_fp_temp, dt[0], 0._rt);
SyncRho(rho_fp_temp, m_fields.get_mr_levels("rho_cp", finest_level), m_fields.get_mr_levels("rho_buf", finest_level));
SyncCurrent("current_fp");
SyncCurrent("hybrid_current_fp_temp");
for (int lev=0; lev <= finest_level; ++lev) {
// SyncCurrent does not include a call to FillBoundary, but it is needed
// for the hybrid-PIC solver since current values are interpolated to
Expand Down

0 comments on commit ede7a79

Please sign in to comment.