source: PSPA/madxPSPA/doc/usrguide/survey/survey_mad8.html @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 1.7 KB
Line 
1<head>
2<title>SURVEY</title>
3<!-- Changed by: Chris ISELIN,  4-Aug-1997 -->
4<!-- Changed by: Hans Grote, 23-Sep-2002 -->
5</head>
6
7<body bgcolor="#ffffff">
8
9<h1>SURVEY: Compute Geometric Layout</h1>
10
11The SURVEY command computes the <a href="global.html">geometry</a>
12of the machine:
13<pre>
14SURVEY, X0=real,Y0=real,Z0=real,&amp;
15        THETA0=real,PHI0=real,PSI0=real,TAPE=file-name
16</pre>
17It operates on the working beam line entered in the latest
18<a href="use.html">USE</a> command.
19Its parameter list specifies the initial position and orientation
20of the reference orbit in the
21<a href="global.html">global coordinate system</a> (X,Y,Z).
22Omitted attributes assume zero values.
23Valid attributes are:
24<ul>
25<li>X0:
26The initial X coordinate [m].
27<li>Y0:
28The initial Y coordinate [m].
29<li>Z0:
30The initial Z coordinate [m].
31<li>THETA0:
32The initial angle theta [rad].
33<li>PHI0:
34The initial angle phi.
35<li>PSI0:
36The initial angle psi.
37<li>TAPE:
38If TAPE=file-name appears
39MAD writes a full <a href="tape3.html#survey">survey table</a> on a disk file
40<a href="files.html">file-name</a>.
41TAPE alone is equivalent to TAPE=&quot;survey&quot;:
42</ul>
43SURVEY prints one line for either end of the computation range
44and a summary.
45It also prints one line for each element and
46for the entrance and exit of each beam line,
47if this position has been selected by
48<a href="print.html">PRINT</a> or
49by <a href="print.html">SELECT,FLAG=TWISS</a>.
50<p>
51
52Example:
53<pre>
54SURVEY, TAPE=LAYOUT
55</pre>
56This example computes the machine layout with zero initial
57conditions and writes the results on a file called LAYOUT:
58
59<address>
60<a href="http://wwwslap.cern.ch/fci/fci_sign.html">fci</a>,
61January 27, 1997
62</address>
63
64</body>
Note: See TracBrowser for help on using the repository browser.