momentum aperture bug for linacs
Posted: 27 Aug 2011, 13:34
A bug was reported by Norio Nakamura (KEK) for the momentum_aperture command. Basically, if acceleration or deceleration is involved (e.g., RFCA with CHANGE_P0=1), the results are incorrect. It is unclear right now when this bug was introduced.
A workaround is to insert ENERGY elements to force the central momentum to the correct, fixed values.
For those who build from source, the corrected code is attached. This will appear in the next release in a few weeks.
--Michael
A workaround is to insert ENERGY elements to force the central momentum to the correct, fixed values.
For those who build from source, the corrected code is attached. This will appear in the next release in a few weeks.
--Michael