forked from MethodicalAcceleratorDesign/MAD-X
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test-ptc-track-2.ref
197 lines (139 loc) · 6.42 KB
/
test-ptc-track-2.ref
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
++++++++++++++++++++++++++++++++++++++++++++
+ MAD-X 5.06.01 (64 bit, Linux) +
+ Support: mad@cern.ch, http://cern.ch/mad +
+ Release date: 2020.09.01 +
+ Execution date: 2021.01.08 17:21:07 +
++++++++++++++++++++++++++++++++++++++++++++
!TITLE,' Example 1 for for MAD-X with PTC_TRACK_RUN';
eg := 100;
bg := eg/pmass;
en := 3.75e-06;
epsx := en/bg;
epsy := en/bg;
beam, particle = proton, energy = eg ,
sigt= 0.077 ,
sige= 1.1e-4 ,
npart= 1.05e11 ,
exn=4*en, eyn=4*en ,
kbunch = 10,
et = 0.002, bv = 1,
ex=epsx, ey=epsy;
value,epsx,epsy;
epsx = 3.518520331e-08 ;
epsy = 3.518520331e-08 ;
option,-echo;
use,period=fivecell;
ptc_create_universe;
Determined SECTOR NMUL MAX : 2
ptc_create_layout,model=2,method=6,nst=10,exact;
MAD-X Beam Parameters
Energy : 0.100000E+03
Kinetic Energy : 0.990617E+02
Particle Rest Mass : 0.938272E+00
Momentum : 0.999956E+02
Setting MADx with
energy 100.00000000000000
method 6
Num. of steps 10
charge 1.0000000000000000
Length of machine: 534.59999999999968
The machine is a RING
------------------------------------ PTC Survey ------------------------------------
Before start: 0.0000000000000000 0.0000000000000000 0.0000000000000000
Before end: 0.0000000000000000 0.0000000000000000 0.0000000000000000
After start: 0.0000000000000000 0.0000000000000000 0.0000000000000000
After end: -40.580758467102171 2.5811541980762600E-017 532.53346053179223
ptc_setswitch, debuglevel=1, time=true, totalpath=false;
Setting debug level to 1
maxaccel is not present (keeping current value)
exact_mis is not present (keeping current value)
radiation is not present (keeping current value)
modulation is not present (keeping current value)
stochastic is not present (keeping current value)
envelope is not present (keeping current value)
fringe is not present (keeping current value)
totalpath is found and its value is 0.000000
time is found and its value is 1.000000
nocavity is not present (keeping current value)
seed is not present (keeping current value)
obs_points pro_ptc_setswitch Done
ptc_start, x= 1e-4, px=0, y= 3e-3, py=0, t= 0;
ptc_start, x= 2e-4, px=0, y= 1e-3, py=0, t= 0;
ptc_start, x= 1e-4, px=0, y= 0 , py=0, t= 2.00, pt=0.02; ! lost at the start because of the T>1
ptc_start, x= 1e-4, px=0, y= 0 , py=0, t= 0.05, pt=0.02;
ptc_start, x= 0 , px=0, y= 0 , py=0, t= 0.0 , pt=0.0024;
ptc_start, x= 0 , px=0, y= 0 , py=0, t= 0.0 , pt=0.0023;
ptc_track,icase=56,element_by_element, turns=10, file="tfv9", recloss ;
************ State Summary ****************
MADTHICK=>KIND = 37 MATRIX-KICK-MATRIX
Rectangular Bend: input arc length (rho alpha)
Default integration method 6
Default integration steps 10
This is a proton
EXACT_MODEL = TRUE
TOTALPATH = 0
RADIATION = FALSE
STOCHASTIC = FALSE
ENVELOPE = FALSE
NOCAVITY = TRUE
TIME = TRUE
FRINGE = FALSE
PARA_IN = FALSE
ONLY_2D = FALSE
ONLY_4D = FALSE
DELTA = FALSE
SPIN = FALSE
MODULATION = FALSE
RAMPING = FALSE
ACCELERATE = FALSE
Track 3 is lost at 1 turn 1 flag 53
Track 4 is lost at 28 turn 1 flag 1
Track 5 is lost at 62 turn 1 flag 1
++++++ table: tracksumm
number turn x px
1 0 0.0001 0
2 0 0.0002 0
3 0 0.0001 0
4 0 0.0001 0
5 0 0 0
6 0 0 0
1 10 0.0002252020254 -1.111922841e-05
2 10 3.234489974e-05 -2.017208596e-06
3 1 0.0001 0
4 1 0.01000609926 0.0005239391492
5 1 0.01009694549 0.0001422990216
6 10 0.009370093381 0.0001176678106
y py t pt
0.003 0 -0 0
0.001 0 -0 0
0 0 2 0.02
0 0 0.05 0.02
0 0 -0 0.0024
0 0 -0 0.0023
-0.00311135335 3.238436512e-05 -1.897391847e-05 0
-0.001097781795 1.132710343e-05 1.047619194e-06 0
0 0 2 0.02
0 0 0.05006345122 0.02
0 0 -0.0001838485114 0.0024
0.0004919324094 1.388568373e-05 -0.004391133034 0.0023
s e
0 100
0 100
0 100
0 100
0 100
0 100
0 100
0 100
0 100
73.18000769 100
211.4200077 100
0 100
ptc_track_end;
ptc_end;
write, table=trackloss, file="tfv9recloss.tfs";
stop;
Number of warnings: 0
++++++++++++++++++++++++++++++++++++++++++++
+ MAD-X finished normally +
++++++++++++++++++++++++++++++++++++++++++++