1 | |
---|
2 | +++++++++++++++++++++++++++++++++++++++++++ |
---|
3 | + MAD-X 5.00.18 (32 bit, Linux) + |
---|
4 | + DEBUG Version - use at own risk! + |
---|
5 | + Code Modification Date: 2012.09.26 + |
---|
6 | + Execution Time Stamp: 15.11.12 17.38.27 + |
---|
7 | +++++++++++++++++++++++++++++++++++++++++++ |
---|
8 | !TITLE,'Test input for MAD-X'; |
---|
9 | |
---|
10 | |
---|
11 | |
---|
12 | eg := 100; |
---|
13 | |
---|
14 | bg := eg/pmass; |
---|
15 | |
---|
16 | en := 3.75e-06; |
---|
17 | |
---|
18 | epsx := en/bg; |
---|
19 | |
---|
20 | epsy := en/bg; |
---|
21 | |
---|
22 | beam, particle = proton, energy = eg , |
---|
23 | |
---|
24 | sigt= 0.077 , |
---|
25 | |
---|
26 | sige= 1.1e-4 , |
---|
27 | |
---|
28 | npart= 1.05e11 , |
---|
29 | |
---|
30 | exn=4*en, eyn=4*en , |
---|
31 | |
---|
32 | kbunch = 10, |
---|
33 | |
---|
34 | et = 0.002, bv = -1, |
---|
35 | |
---|
36 | ex=epsx, ey=epsy; |
---|
37 | |
---|
38 | value,epsx,epsy; |
---|
39 | |
---|
40 | epsx = 3.518520049e-08 ; |
---|
41 | epsy = 3.518520049e-08 ; |
---|
42 | option,-echo; |
---|
43 | |
---|
44 | |
---|
45 | |
---|
46 | use,period=fivecell; |
---|
47 | |
---|
48 | // alignment errors |
---|
49 | |
---|
50 | |
---|
51 | |
---|
52 | select,flag=error,clear; |
---|
53 | |
---|
54 | select,flag=error,pattern="q.*",range=qf.1; |
---|
55 | |
---|
56 | ealign,dx=0.0001; |
---|
57 | |
---|
58 | Assigned alignment errors to 1 elements |
---|
59 | select,flag=error,class=quadrupole,range=qf.4/qf.5; |
---|
60 | |
---|
61 | ealign,dy=0.0002,dtheta=0.0003; |
---|
62 | |
---|
63 | Assigned alignment errors to 3 elements |
---|
64 | Replaced alignment errors for 1 elements |
---|
65 | |
---|
66 | |
---|
67 | /* |
---|
68 | |
---|
69 | select,flag=error,clear; |
---|
70 | |
---|
71 | |
---|
72 | |
---|
73 | // field errors |
---|
74 | |
---|
75 | gcutr=3.0; |
---|
76 | |
---|
77 | b1r=1.e-4; |
---|
78 | |
---|
79 | b2r=2.e-4; |
---|
80 | |
---|
81 | b3r=3.e-4; |
---|
82 | |
---|
83 | b4r=4.e-4; |
---|
84 | |
---|
85 | b5r=5.e-4; |
---|
86 | |
---|
87 | a1r=1.e-4; |
---|
88 | |
---|
89 | a2r=2.e-4; |
---|
90 | |
---|
91 | a3r=3.e-4; |
---|
92 | |
---|
93 | a4r=4.e-4; |
---|
94 | |
---|
95 | a5r=5.e-4; |
---|
96 | |
---|
97 | |
---|
98 | |
---|
99 | Select, flag=error, clear = true; |
---|
100 | |
---|
101 | select, flag=error, pattern="q.*\..*"; |
---|
102 | |
---|
103 | efcomp, order:=1, radius:=0.010, |
---|
104 | |
---|
105 | dknr={0,1e-1*b2r}, |
---|
106 | |
---|
107 | dksr={0,1e-1*a2r}; |
---|
108 | |
---|
109 | esave; |
---|
110 | |
---|
111 | */ |
---|
112 | |
---|
113 | |
---|
114 | |
---|
115 | select,flag=my_table,class=quadrupole, |
---|
116 | |
---|
117 | column=name,parent,keyword,s,betx,bety,dx,dy,k1l, |
---|
118 | |
---|
119 | re11,re12,re13,re14; |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | select,flag=my_sect_table,!class=drift, |
---|
124 | |
---|
125 | column=name,pos,k1,r11,r66,t111,t666; |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | twiss,centre,rmatrix, |
---|
130 | |
---|
131 | sectormap,sectortable=my_sect_table,sectorfile=my_sect_file, |
---|
132 | |
---|
133 | table=my_table,file=twiss_fv9; |
---|
134 | |
---|
135 | enter Twiss module |
---|
136 | |
---|
137 | iteration: 1 error: 1.646937E-03 deltap: 0.000000E+00 |
---|
138 | orbit: -1.966105E-04 2.378502E-07 4.833405E-04 9.585886E-08 0.000000E+00 0.000000E+00 |
---|
139 | |
---|
140 | iteration: 2 error: 5.848410E-07 deltap: 0.000000E+00 |
---|
141 | orbit: -1.967992E-04 2.414294E-07 4.837652E-04 1.007908E-07 0.000000E+00 0.000000E+00 |
---|
142 | |
---|
143 | ++++++ table: summ |
---|
144 | |
---|
145 | length orbit5 alfa gammatr |
---|
146 | 534.6 -0 0.0004436742712 47.47531748 |
---|
147 | |
---|
148 | q1 dq1 betxmax dxmax |
---|
149 | 1.253934631 -7.810108771 181.5167874 2.224387301 |
---|
150 | |
---|
151 | dxrms xcomax xcorms q2 |
---|
152 | 1.661132647 0.001135107338 0.0005825813871 1.254640048 |
---|
153 | |
---|
154 | dq2 betymax dymax dyrms |
---|
155 | -2.008153625 181.6896079 0.003815311527 0.002201693134 |
---|
156 | |
---|
157 | ycomax ycorms deltap synch_1 |
---|
158 | 0.001154084592 0.0004595899128 0 0 |
---|
159 | |
---|
160 | synch_2 synch_3 synch_4 synch_5 |
---|
161 | 0 0 0 0 |
---|
162 | |
---|
163 | |
---|
164 | stop; |
---|
165 | |
---|
166 | |
---|
167 | Number of warnings: 0 |
---|
168 | |
---|
169 | ++++++++++++++++++++++++++++++++++++++++++++ |
---|
170 | + MAD-X 5.00.18 (32 bit) finished normally + |
---|
171 | ++++++++++++++++++++++++++++++++++++++++++++ |
---|