Hi Michael,
As shown in the attached example, I attempted to use the first_is_fiducial mode in run_control and bunched_beam, to generate a first beam with a single particle for fiducialization and then track the second beam with the desired beam distribution. If I execute Elegant, the particleIDs of the second beam starts from 2. In contrast, if I execute Pelegant, the particleIDs of the second beam starts from 1. This could lead to some inconsistence if one wants to alter the DT of MALIGN among a range of particleIDs, say, only for the second beam.
Best,
Zhe
Inconsistence in particleID generated with bunched_beam using Elegant and Pelegant
Moderators: cyao, michael_borland
Inconsistence in particleID generated with bunched_beam using Elegant and Pelegant
- Attachments
-
- pid_inconsistence.tar.gz
- (1.26 KiB) Downloaded 371 times
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Inconsistence in particleID generated with bunched_beam using Elegant and Pelegant
Zhe,
Thanks for reporting the bug. The fix will appear in the next release.
If you build from source, you can use the attached file.
--Michael
Thanks for reporting the bug. The fix will appear in the next release.
If you build from source, you can use the attached file.
--Michael
- Attachments
-
- bunched_beam.c
- (49.16 KiB) Downloaded 378 times