You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Python function to extract particles scraped during the last step. (#5711)
This adds a function that extracts the particles that were scraped at
the current timestep.
This is useful in callback functions, where we often want to re-inject
particles that hit the boundary, and therefore need to select the ones
that were scraped at the current timestep.
This also avoids calling `clear_buffer`, which potentially interferes
with the `BoundaryScrapingDiagnostic`
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0 commit comments