SURVEY: Compute Geometric Layout
The SURVEY command computes the geometry
of the machine:
SURVEY, X0=real,Y0=real,Z0=real,&
THETA0=real,PHI0=real,PSI0=real,TAPE=file-name
It operates on the working beam line entered in the latest
USE command.
Its parameter list specifies the initial position and orientation
of the reference orbit in the
global coordinate system (X,Y,Z).
Omitted attributes assume zero values.
Valid attributes are:
- X0:
The initial X coordinate [m].
- Y0:
The initial Y coordinate [m].
- Z0:
The initial Z coordinate [m].
- THETA0:
The initial angle theta [rad].
- PHI0:
The initial angle phi.
- PSI0:
The initial angle psi.
- TAPE:
If TAPE=file-name appears
MAD writes a full survey table on a disk file
file-name.
TAPE alone is equivalent to TAPE="survey":
SURVEY prints one line for either end of the computation range
and a summary.
It also prints one line for each element and
for the entrance and exit of each beam line,
if this position has been selected by
PRINT or
by SELECT,FLAG=TWISS.
Example:
SURVEY, TAPE=LAYOUT
This example computes the machine layout with zero initial
conditions and writes the results on a file called LAYOUT:
fci,
January 27, 1997