Parameter Name  Units  Type  Default  Description 
L  double  0.0  The effective field length measured along a straight line.  
ANGLE  double  0.0  The designed bending angle  
L1  double  0.0  The left fringe field length.  
L2  double  0.0  The right fringe field length. L1+L+L2=Total z span in the input field table.  
E1  double  0.0  The designed entrance edge angle  
E2  double  0.0  The designed 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  
INPUT_FILE  STRING  NULL  Name of SDDS file which contains field data.  
N_KICKS  long  1  Number of kicks into which to split the element.  
VERBOSE  long  0 
Used for debugging code. Not applicable to Pelegant  
GROUP  string  NULL  Optionally used to assign an element to a group, with a userdefined name. Group names will appear in the parameter output file in the column ElementGroup 
This element is used for tracking through an arbitrary magnetic field
when its values are known at regularly spaced grid points and it is
hard to find a suitable model to describe it. The input magnet
parameter and coordinate system definition are illustrated in
Fig:1. The field data is saved in a 3 pages (,
, ) 3D histogram SDDS table (see MHISTOGRAM
for detail).
An example is shown in Fig:2.
This SDDS file must have one column Frequency
to store the
field data in Tesla, and following parameters:
ND
 Type ``long''; Value ``3''.
Variable00Name
, Variable01Name
,Variable02Name
 Type ``string''; Value ``x'', ``y'', ``z''.
Variable00Min
, Variable01Min
, Variable02Min
 Type ``double''; Value: the minimum boundary coordinates of
``x'', ``y'', ``z'' in meter. Variable02Min
(z_min) must start from zero.
Variable00Max
,Variable01Max
, Variable02Max
 Type ``double''; Value: the maximum boundary coordinates of
``x'', ``y'', ``z'' in meter.
Variable00Interval
, Variable01Interval
,Variable02Interval
 Type ``double''; Value of the grid size of ``x'', ``y'', ``z'' in meter.
Variable00Dimension
,Variable01Dimension
, Variable02Dimension
 Type ``long''; Value of total number of grid points in
``x'', ``y'', ``z''. For example: Variable00Dimension
=(Variable00MaxVariable00Min)/Variable00Interval + 1.
