Possible bug in vary_element
Posted: 25 Dec 2023, 05:47
Hello
I was trying to run custom ray tracking DX vs DP using MALIGN element and vary_element function. Values fo MALIGN are supposed to be taken from SDDS file. For some reason simulation ends prematurely with message "index 1 has a limit of <= 0".
Is it me, or is there a bug with vary_element and taking values from file feature?
I've added archive with files:
run-test.ele - elegant script
log - terminal log
ring.new - lattice
EA_tracking_points.sdds - file with values for MALIGN element.
P.S. I want to propose a feature to elegant. Would be nice to have function similar to find_aperture but for X/Y vs deltaP.
I was trying to run custom ray tracking DX vs DP using MALIGN element and vary_element function. Values fo MALIGN are supposed to be taken from SDDS file. For some reason simulation ends prematurely with message "index 1 has a limit of <= 0".
Is it me, or is there a bug with vary_element and taking values from file feature?
I've added archive with files:
run-test.ele - elegant script
log - terminal log
ring.new - lattice
EA_tracking_points.sdds - file with values for MALIGN element.
P.S. I want to propose a feature to elegant. Would be nice to have function similar to find_aperture but for X/Y vs deltaP.