-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
Description
We have a nice helper method in WarpX that can be used to add particles from numpy arrays:
With the named components, we should be able to write a similar, general method in pyAMReX directly. This would also simplify a lot of our add particle examples in ImpactX.
As a bonus, it would be awesome if we could generalize it to support cupy, too.