K1 in SBEN and CSBEND is ignored if ANGLE=0
Posted: 09 Apr 2025, 23:05
Hi!
It looks like K1 parameter is ignored in SBEN and CSBEND elements if ANGLE is very small or zero. And it is by design for some reason. If I change ANGLE to very small value (like 1e-7) I get following warning:
We are used to use elements with combined functions in MAD-X, it's convinient for accelerator design. Is there a reasoning behind why it's different in elegant? Can it be fixed or can you add a note in the manual about this?
It looks like K1 parameter is ignored in SBEN and CSBEND elements if ANGLE is very small or zero. And it is by design for some reason. If I change ANGLE to very small value (like 1e-7) I get following warning:
Code: Select all
************************** Summary of warnings ****************************
1 types of warnings were recorded:
2* CSBEND has radius > 1e6 but non-zero K1.
*****************************************************************************