Skip to content

General add_particles #501

@ax3l

Description

@ax3l

We have a nice helper method in WarpX that can be used to add particles from numpy arrays:

BLAST-WarpX/warpx#6350

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions