-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conductor shapes and particle scraping #1901
Comments
Other desired features are:
|
Meeting notes 06/11/2021:
A possible way to implement this is using the particle buffers as also used in back-transformed diagnostics (#1898) to accumulate "lost" particles (negative ID) before they are removed in an AMReX redistribute. We could then use the "full" output diagnostics routines to periodically output these particles (plotfiles or openPMD).
We discussed several possible ways:
|
Thanks @ax3l ! I think the two other notes I had were:
|
We discussed today that @atmyers will help us to scrape particles into a pinned memory buffer before our redistribute. In parallel, the Modern Electron team might be interested to check if the Python routines for "regular" particles are sufficient to manipulate/analyze the scraped particles or if they need extensions (or fixes): WarpX/Python/pywarpx/_libwarpx.py Lines 449 to 629 in 0b6ddad
Those routines should generally be useful to manipulate pinned memory particles (and should also work for managed memory particles, in case we want to try to run cupy kernels on them just to start investigating). |
I'm going to mark this issue complete. Future PRs may address items such as multiple conductors, but all the primary functionality described here has been implemented. |
The goal here is to support something analogous to the
Assembly
class in Warp. Assemblies can both modify the field solve (see #1675 and #1641 for existing WarpX work in this direction), and also support scraping particles that impact them. A python interface is also desired.The text was updated successfully, but these errors were encountered: