ECP-WarpX / impactx

high-performance modeling of beam dynamics in particle accelerators with collective effects
https://impactx.readthedocs.io
Other
28 stars 20 forks source link

Add absorber option to Aperture element. #758

Closed cemitch99 closed 1 week ago

cemitch99 commented 1 week ago

Added an additional (optional) string input to the Aperture element, allowing the user to select between two "actions":

transmit - the specified boundary describes the plane region in which particles are transmitted (default) absorb - the specified boundary describes the plane region in which particles are absorbed

The second option yields the "negative" of the first, and is useful in describing, e.g., absorber sections.

Overlapping elliptical apertures:

EllipticalApertures_Overlapping