There is a a bug for the ECOL element if the length is non-zero and the offset (DX or DY) is nonzero.
Three workarounds are possible:
* Use RCOL, if possible.
* Use a pair of ECOL elements separated by a drift space that is equal to the desired ECOL length.
* Instead of misaligning the ECOL element using the DY or DX parameters, bracket the ECOL by two MALIGN elements, as in
dyn: malign,dy=-0.02
dyp: malign,dy=0.02
col: ecol,...
bl: line=(dyn,col,dyp)
--Michael
Bug for non-zero length ECOL element with offset
Moderators: michael_borland, soliday
-
- Posts: 1945
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
-
- Posts: 1945
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: Bug for non-zero length ECOL element with offset
Here's the corrected source code for those who build from source.
--Michael
--Michael
- Attachments
-
- limit_amplitudes.c
- (28.05 KiB) Downloaded 181 times