Line | |
---|
1 | TITLE,'CELL matching with MAD-X'; |
---|
2 | |
---|
3 | option,-echo,-info,-warn; |
---|
4 | |
---|
5 | call file="fv9.opt"; |
---|
6 | call file="fv9.seq"; |
---|
7 | |
---|
8 | option,info,warn; |
---|
9 | |
---|
10 | kqf = 0.009077570142; |
---|
11 | kqd = -0.01092574987; |
---|
12 | |
---|
13 | Beam, particle = proton, sequence=fivecell, energy = 450.0, |
---|
14 | NPART=1.05E11, sige= 4.5e-4 ; |
---|
15 | |
---|
16 | use,period=fivecell; |
---|
17 | |
---|
18 | match,sequence=fivecell; |
---|
19 | constraint,sequence=fivecell,range=#e,mux=1.27,muy=1.77; |
---|
20 | vary,name=kqf,step=1.0e-6; |
---|
21 | vary,name=kqd,step=1.0e-6; |
---|
22 | lmdif,calls=500,tolerance=1.e-21; |
---|
23 | endmatch; |
---|
24 | |
---|
25 | value, kqf; |
---|
26 | value, kqd; |
---|
27 | |
---|
28 | stop; |
---|
Note: See
TracBrowser
for help on using the repository browser.