Line | |
---|
1 | PTC_TWISS Example2 for the task of the matching between |
---|
2 | a ring and a transferline. |
---|
3 | |
---|
4 | Run command: |
---|
5 | ../madxp < example2.madx [ > example2.out ] |
---|
6 | |
---|
7 | with the Mad-X output directed to the terminal or to the "*.out" file. |
---|
8 | |
---|
9 | In this example, the PTC_TWISS command is applied to calculate |
---|
10 | the Ripken-style parameters along the transferline using Twiss |
---|
11 | parameters of the ring at its end as the initial conditions. |
---|
12 | |
---|
13 | Example2 demonstrates an external ("manual") input of the |
---|
14 | initial conditions. The Twiss parameters at the end of ring |
---|
15 | are given as arguments of the PTC_TWISS command-line with |
---|
16 | the following PTC_TWISS command: |
---|
17 | |
---|
18 | PTC_TWISS,icase=5,no=1, betx=177,bety=32,alfx=-2.4,alfy=0.4, |
---|
19 | dx=2.1,dpx=0.02,mux=1.2, muy=1.25, x=8.8E-05, |
---|
20 | px=7.2E-07,y=5.25E-05,py=-6.7E-07, |
---|
21 | file=twiss_ptc_line; |
---|
Note: See
TracBrowser
for help on using the repository browser.