1 | PTC_TWISS Example4 for the task of the matching between |
---|
2 | a ring and a transferline. |
---|
3 | |
---|
4 | Run command: |
---|
5 | ../madxp < example4.madx [> example4.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. |
---|
11 | A transfer matrix is used as initial conditions. |
---|
12 | |
---|
13 | Example4 demonstrates an external ("manual") input of the |
---|
14 | initial conditions. The elements of the transfer matrix are |
---|
15 | are given as arguments of the PTC_TWISS command with the |
---|
16 | following PTC_TWISS command: |
---|
17 | |
---|
18 | ptc_twiss,icase=5,no=1,initial_matrix_manual, |
---|
19 | re11=-2.4, re12=176., re13=0.23E-01, re14=1.06, re16=2.3, |
---|
20 | re21=-.3E-01,re22=2.3, re23=0.59E-03, re24=0.2E-01, re26=0.4E-01, |
---|
21 | re31=-.1E-01,re32=1.1, re33=0.44, re34=32.7, re36=0.23E-02, |
---|
22 | re41=-.1E-03,re42=0.1E-01,re43=-.3E-01, re44=-.535, re46=-.9E-03, |
---|
23 | file=twiss_ptc_line; |
---|