MethodicalAcceleratorDesign / MAD-NG

MAD Next-Generation official repository
GNU General Public License v3.0
32 stars 11 forks source link

Curvature effects on straight dipole #408

Closed rdemaria closed 1 year ago

rdemaria commented 1 year ago

Straight dipoles don't have weak focusing (see dipole hamiltonian), so those lines look incorrect

https://github.com/MethodicalAcceleratorDesign/MAD/blob/a67b8af3c2cad09f2d9359ee9ede22767208f538/src/madl_dynmap.mad#L591-L592

ldeniau commented 1 year ago

This map is only used by the multipole element for compatibility with the thin all-in-one multipole element in MAD-X when translated to PTC ("highly illegal" in PTC, Etienne's wording). So it is not an issue but the responsibility of the user...