# OPAL 2022.1

Release Notes for## Bugfixes in OPAL 2022.1

- Fix particle-matter interactions for
`CCOLLIMATOR`

element (#380 (closed), #718 (closed)) - Fix back-track simulations (#675 (closed))
- Fix algorithm for spatial monitors (#682 (closed))
- Fix for output file names for LossDataSink (#685 (closed))
- Fix values assigned to dispersion (#687 (closed))
- Fix description of minimum values in monitor statistics (#689 (closed))
- Fix units in DumpEMFields header (#691 (closed))
- Fix mean longitudinal position in temporal monitor (#698 (closed), #706 (closed))
- Fix input momentum between
`FROMFILE`

distribution type and`BEAM`

(#701 (closed)) - Fix particle definition in
`BEAM`

command (#703 (closed)) - Fix assignation of
`BEAM`

,`FIELDSOLVER`

and`DISTRIBUTION`

in`RUN`

command (#713 (closed)) - Fix AMR solver (#714 (closed), #715 (closed))
- Fix wake function (#734 (closed))
- Fix Trimcoils (#736 (closed))

## New features in OPAL 2022.1

- Python interface for OPAL (#624 (closed), #660 (closed))
- New element attribute (
`DELETEONTRANSVERSEEXIT`

, default true) to disable deletion of particles when exiting transversally (#673 (closed)) - Command-line argument
`--help-command`

to display the help for opal commands and their attributes (#680 (closed)) - Beam stripping physics in OPAL-t (#684 (closed), #724 (closed))
- New option (
`COMPUTEPERCENTILES`

, default false) to compute percentiles (#693 (closed)) - New end field model using an asymmetric enge function for Scaling FFA magnet (#722 (closed), #728 (closed))
- New option (
`DUMPBEAMMATRIX`

, default false) to write 6D beam (sigma) matrix in statistics output (#729 (closed)) -
`P3M`

solver (Particle-Particle-Particle-Mesh, #737 (closed))

## Code improvements

- Internal unit conversions (#690 (closed), #704 (closed))
- Replace plain enum by scoped enumerations (#694 (closed), #708 (closed))

## Input file related changes

- The properties of heavy ion beams have been redefined (#699 (closed))
- Wake field file format simplified (#735 (closed))

## Output file related changes

- Four additional quantities temperature, Debye length, plasma parameter and RMS number density are available in the stat file for simulations without emission (#737 (closed))