MAD-X icon indicating copy to clipboard operation
MAD-X copied to clipboard

XTILT attribute for SOLENOID undocumented, may have a bug

Open jsberg-bnl opened this issue 2 years ago • 0 comments

In twiss.f90, it looks like solenoid has a xtilt attribute (as well as startrot), but these attributes are not documented in the manual. Also, that code appears to have a bug (should instances of (el+startrot) be (el-startrot)?), but I'm not sure since I'm just guessing what it is supposed to do (tilt in the horizontal plane by an angle xtilt about a point startrot from the solenoid entrance?), and haven't worked through the math carefully.

jsberg-bnl avatar Jul 15 '22 21:07 jsberg-bnl