1 | TITLE, s='MAD-X test'; |
---|
2 | call file="input/coc4.opt"; |
---|
3 | call file="input/coc4.seq"; |
---|
4 | option,-echo; |
---|
5 | //option,debug,-echo; |
---|
6 | |
---|
7 | Beam, particle = proton, sequence=fivecell, energy = 450.0; |
---|
8 | // NPART=1.05E11, sige= 4.5e-4 ; |
---|
9 | |
---|
10 | use, period=fivecell; |
---|
11 | |
---|
12 | select, flag=twiss, clear; |
---|
13 | select, flag=twiss, column=name,s,x,px,y,py,betx,bety,alfx,alfy; |
---|
14 | TWISS,table=my_model,sequence=fivecell; |
---|
15 | |
---|
16 | readmytable,file="input/orbps.in",table=orbint; |
---|
17 | |
---|
18 | coption,print=2,debug=1; |
---|
19 | correct,flag=ring,model=my_model,orbit=orbint,extern,mode=micado, |
---|
20 | cond=0,error=1.0e-7,ncorr=5,plane=x,clist="c.tab",mlist="m.tab"; |
---|
21 | |
---|