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: 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