Line | |
---|
1 | PTC_TWISS Example1 for the task of the matching between |
---|
2 | a ring and a transferline. |
---|
3 | |
---|
4 | Run command: |
---|
5 | ../madxp < example1.madx [> example1.out] |
---|
6 | |
---|
7 | with the Mad-X output directed to the terminal or to |
---|
8 | the "*.out" file. |
---|
9 | |
---|
10 | In this example, the PTC_TWISS command is applied to calculate |
---|
11 | the Ripken-style parameters along the transferline using Twiss |
---|
12 | parameters of the ring at its end as the initial conditions. |
---|
13 | |
---|
14 | Example1 demonstrates an internal ("automatic") method for |
---|
15 | the input of the initial conditions. The Twiss parameters |
---|
16 | at the end of ring are transfered by means of the BETA0-block |
---|
17 | (named as "TWSSip") with the following PTC_TWISS command: |
---|
18 | |
---|
19 | PTC_TWISS,icase=5,no=1,BETA0=TWSSip,file=twiss_ptc_line; |
---|
Note: See
TracBrowser
for help on using the repository browser.