EUROPEAN ORGANIZATION FOR NUCLEAR RESEARCH
Solenoid
label: SOLENOID, L=real, KS=real; (thick version)
label: SOLENOID, L=0, KS=real, KSI=real; (thin version)
A SOLENOID has two (three) real attributes:
- L:
The length of the solenoid (default: 0 m)
- KS:
The solenoid strength Ks (default: 0 rad/m).
For positive KS and positive particle charge,
the solenoid field points in the direction of increasing s.
- KSI:
The solenoid integrated strength Ks*L (default: 0 rad).
This additional attribute is needed only when using the thin solenoid,
where L=0!
- KNL & KSL:
Take note that one can specify multipole coefficients but they have no
effect in MAD-X proper but are used for solenoids with multipoles in
PTC.
Example:
SOLO: SOLENOID, L=2., KS=0.001;
THINSOLO: SOLENOID, L=0, KS=0.001, KSI=0.002;
The straight reference system
for a solenoid is a cartesian coordinate system.
hansg,
January 27, 1977