source: PSPA/madxPSPA/tests/test-twiss-6/test-twiss-6.ref @ 430

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

import madx-5.01.00

File size: 4.7 KB
Line 
1
2  +++++++++++++++++++++++++++++++++++++++++++
3  +    MAD-X 5.00.19  (32 bit, Darwin)      +
4  +    DEBUG Version - use at own risk!     +
5  + Code Modification Date: 2012.12.11      +
6  + Execution Time Stamp: 20.12.12 16.55.05 +
7  +++++++++++++++++++++++++++++++++++++++++++
8! Threader example
9
10OPTION, -ECHO, -WARN, INFO;
11
12
13
14// forces and other constants
15
16
17
18l.bpm:=.3;
19
20bang:=.509998807401e-2;
21
22kqf:=.872651312e-2;
23
24kqd:=-.872777242e-2;
25
26ksf:=.0198492943;
27
28ksd:=-.039621283;
29
30acbv1:=1.e-3*gauss(1.);
31
32acbh1:=1.e-3*gauss(1.);
33
34acbv2:=1.e-3;
35
36acbh2:=1.e-3;
37
38!select,flag=save,class=variable,pattern="bh.*";
39
40!select,flag=save,clear;
41
42!save,beam,file=save;
43
44! action
45
46
47
48!threader,vector=4e-3,4e-3;
49
50use, period=fivecell;
51
52select, flag=twiss, range=#s, column=name,x, px, y, py;
53
54select, flag=twiss, range=#e, column=name,x, px, y, py;
55
56!coguess,x=1.e-3;
57
58!twiss;!,keeporbit;
59
60acbv1:=1.e-3;
61
62++++++ info: acbv1 redefined
63acbh1:=1.e-3;
64
65++++++ info: acbh1 redefined
66acbv2:=1.e-3;
67
68++++++ info: acbv2 redefined
69acbh2:=1.e-3;
70
71++++++ info: acbh2 redefined
72coguess,x=0;
73
74twiss, file = twiss.1;!,keeporbit;
75
76enter Twiss module
77 
78iteration:   1 error:   1.300217E-01 deltap:   0.000000E+00
79orbit:   1.742856E-01  2.538799E-03  4.625988E-02  1.065936E-03  0.000000E+00  0.000000E+00
80 
81iteration:   2 error:   8.088835E-02 deltap:   0.000000E+00
82orbit:   1.329838E-01  2.009119E-03  2.703068E-02  1.303526E-03  0.000000E+00  0.000000E+00
83 
84iteration:   3 error:   4.079167E-03 deltap:   0.000000E+00
85orbit:   1.302342E-01  1.974440E-03  2.736348E-02  1.294279E-03  0.000000E+00  0.000000E+00
86 
87iteration:   4 error:   2.404011E-06 deltap:   0.000000E+00
88orbit:   1.302335E-01  1.974439E-03  2.736300E-02  1.294316E-03  0.000000E+00  0.000000E+00
89 
90iteration:   5 error:   1.040179E-11 deltap:   0.000000E+00
91orbit:   1.302335E-01  1.974439E-03  2.736300E-02  1.294316E-03  0.000000E+00  0.000000E+00
92
93++++++ table: summ
94
95            length             orbit5               alfa            gammatr
96             534.6                 -0    0.0004548526276        46.88831716
97
98                q1                dq1            betxmax              dxmax
99       1.270619113       0.4848928104        232.1500505        2.773428819
100
101             dxrms             xcomax             xcorms                 q2
102       1.764963932        0.145922216      0.08446266233        1.314472002
103
104               dq2            betymax              dymax              dyrms
105       1.068686869        235.4447502       0.5438331254       0.3047833038
106
107            ycomax             ycorms             deltap            synch_1
108      0.1436430725       0.0792428365                  0                  0
109
110           synch_2            synch_3            synch_4            synch_5
111                 0                  0                  0                  0
112
113
114!acbv1:=1.e-4;
115
116!acbh1:=1.e-4;
117
118!acbv2:=1.e-4;
119
120!acbh2:=1.e-4;
121
122option,threader;
123
124twiss, file = twiss.2;
125enter Twiss module
126++++++ info: -threader- pickup: bph[ 1]  kicker: cbh[ 1] total x-kick:  -9.813651E-04             
127++++++ info: -threader- pickup: bpv[ 1]  kicker: cbv[ 1] total y-kick:  -1.000000E-03             
128++++++ info: -threader- pickup: bph[ 2]  kicker: cbh.2[ 1] total x-kick:  -9.816179E-04             
129++++++ info: -threader- pickup: bpv[ 2]  kicker: cbv.2[ 1] total y-kick:  -1.000000E-03             
130 
131iteration:   1 error:   3.244315E-03 deltap:   0.000000E+00
132orbit:   2.577913E-03  3.848409E-05 -2.267222E-08 -3.819306E-10  0.000000E+00  0.000000E+00
133 
134iteration:   2 error:   3.770786E-07 deltap:   0.000000E+00
135orbit:   2.578233E-03  3.848899E-05 -2.257435E-08 -3.834450E-10  0.000000E+00  0.000000E+00
136
137++++++ table: summ
138
139            length             orbit5               alfa            gammatr
140             534.6                 -0     0.000424601471        48.52988395
141
142                q1                dq1            betxmax              dxmax
143       1.291984069       0.4063753269        184.2538246        2.598063473
144
145             dxrms             xcomax             xcorms                 q2
146       1.624119207     0.002643348562       0.0016093582        1.248803029
147
148               dq2            betymax              dymax              dyrms
149       1.032676465        185.6362163    3.698203196e-07     1.93037958e-07
150
151            ycomax             ycorms             deltap            synch_1
152   7.947370568e-08    4.492681364e-08                  0                  0
153
154           synch_2            synch_3            synch_4            synch_5
155                 0                  0                  0                  0
156
157  Number of warnings: 0
158
159  ++++++++++++++++++++++++++++++++++++++++++++
160  + MAD-X 5.00.19 (32 bit) finished normally +
161  ++++++++++++++++++++++++++++++++++++++++++++
Note: See TracBrowser for help on using the repository browser.