Parameter Name | Units | Type | Default | Description |
L | double | 0.0 | arc length | |
ANGLE | double | 0.0 | bending angle | |
E1 | double | 0.0 | entrance edge angle | |
E2 | double | 0.0 | exit edge angle | |
TILT | double | 0.0 | rotation about incoming longitudinal axis | |
DX | double | 0.0 | misalignment | |
DY | double | 0.0 | misalignment | |
DZ | double | 0.0 | misalignment | |
FINT | double | 0.5 | edge-field integral | |
HGAP | double | 0.0 | half-gap between poles | |
FP1 | double | 10 | fringe parameter (tanh model) | |
FP2 | double | 0.0 | not used | |
FP3 | double | 0.0 | not used | |
FP4 | double | 0.0 | not used | |
FSE | double | 0.0 | fractional strength error | |
ETILT | double | 0.0 | error rotation about incoming longitudinal axis | |
ACCURACY | double | 0.0001 | integration accuracy (for nonadaptive integration, used as the step-size) | |
MODEL | STRING | linear | fringe model (hard-edge, linear, cubic-spline, tanh, quintic, enge1, enge3, enge5) | |
METHOD | STRING | runge-kutta | integration method (runge-kutta, bulirsch-stoer, modified-midpoint, two-pass modified-midpoint, leap-frog, non-adaptive runge-kutta) | |
SYNCH_RAD | long | 0 |
include classical synchrotron radiation? | |
ADJUST_BOUNDARY | long | 1 | adjust fringe boundary position to make symmetric trajectory? (Not done if ADJUST_FIELD is nonzero.) |
A numerically-integrated dipole magnet with various extended-fringe-field models.
Parameter Name | Units | Type | Default | Description |
ADJUST_FIELD | long | 0 |
adjust central field strength to make symmetric trajectory? | |
GROUP | string | NULL | Optionally used to assign an element to a group, with a user-defined name. Group names will appear in the parameter output file in the column ElementGroup |
For the NIBEND element, there are various fringe field models available.
In the following descriptions, is the extend of the fringe field, which
starts at for convenience in the expressions. Also,
is K. Brown's fringe
field integral (commonly called FINT), where is the full magnet gap
and
, being the value of the magnetic field well inside
the magnet.
(23) | |||
(24) | |||
(25) |
(26) | |||
(27) | |||
(28) | |||
(29) | |||
(30) |
(31) | |||
(32) | |||
(33) | |||
(34) | |||
(35) | |||
(36) |
(37) | |||
(38) | |||
(39) | |||
(40) | |||
(41) | |||
(42) |
For this model, the user specifies FINT and HGAP only.
(43) | |||
(44) | |||
(45) |
The user may choose ``enge1'', ``enge3'', or ``enge5'', where the number indicates the order of the expansion of with respect to .
The need only specify FINT and HGAP. The Enge parameters are then automatically determined to give the correct linear focusing.
However, if user gives non-zero value for FP2, then FINT and HGAP are ignored. FP2, FP3, and FP4 and taken as the Enge coefficients , , and , respectively.