Skip to content

Commit

Permalink
revert to using MPI reduction otherwise code hangs
Browse files Browse the repository at this point in the history
  • Loading branch information
roelof-groenewald committed Oct 30, 2024
1 parent 1ef23a8 commit dae3b3f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Source/FieldSolver/WarpXPushFieldsHybridPIC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,10 @@ void WarpX::HybridPICEvolveFields ()
for (int lev = 0; lev <= finest_level; ++lev)
{
for (int idim = 0; idim < 3; ++idim) {
if (!Efield_fp[lev][idim]->is_finite(true)) {
amrex::Abort("Non-finite value detected in E-field; this indicates more substeps should be used in the field solver.");
}
WARPX_ALWAYS_ASSERT_WITH_MESSAGE(
Efield_fp[lev][idim]->is_finite(),
"Non-finite value detected in E-field; this indicates more substeps should be used in the field solver."
);
}
}
}
Expand Down

0 comments on commit dae3b3f

Please sign in to comment.