Michael,
There is rather annoying bug in QUAD element with HKICK or VKICK steering used. If you divide the quadrupole using "divide_elements" command then the steering kick value is simply copied to each slice. This results in many-fold increase in overall steering.
Thanks.
Alexey.
QUAD.HKICK and element division
Moderators: michael_borland, soliday
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: QUAD.HKICK and element division
Alexey,
Sorry about the bug. It will be fixed in the next release. Meanwhile, if you want a workaround, try
÷_elements name=*, type=QUAD, divisions=10 &end
&run_setup .. &end
&alter_elements name=*, type=QUAD, item=HKICK, value=0.1, multiplicative=1 &end
&alter_elements name=*, type=QUAD, item=VKICK, value=0.1, multiplicative=1 &end
If you build from source, you can try substituting the attached file for track_data.c
--Michael
Sorry about the bug. It will be fixed in the next release. Meanwhile, if you want a workaround, try
÷_elements name=*, type=QUAD, divisions=10 &end
&run_setup .. &end
&alter_elements name=*, type=QUAD, item=HKICK, value=0.1, multiplicative=1 &end
&alter_elements name=*, type=QUAD, item=VKICK, value=0.1, multiplicative=1 &end
If you build from source, you can try substituting the attached file for track_data.c
--Michael
- Attachments
-
- track_data.c
- (222.04 KiB) Downloaded 789 times
Re: QUAD.HKICK and element division
Thank you, Michael. I really appreciate your help!
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: QUAD.HKICK and element division
This was fixed in release 23.1.0
--Michael
--Michael