Line | |
---|
1 | PTC_TWISS Example3 for the task of the matching between |
---|
2 | a ring and a transferline. |
---|
3 | |
---|
4 | Run command: |
---|
5 | ../madxp < example3.madx [> example3.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. A transfer matrix |
---|
11 | generated from the one-turn map-table produced at the ring end by the |
---|
12 | previous PTC_NORMAL-command is used as initial conditions. |
---|
13 | |
---|
14 | Example3 demonstrates an internal ("automatic") method for |
---|
15 | the input of the transfer matrix. The matrix is accepted by the |
---|
16 | PTC_TWISS command due to the option "initial_matrix_table": |
---|
17 | |
---|
18 | PTC_TWISS,icase=5,no=1,initial_matrix_table, file=twiss_ptc_line; |
---|
Note: See
TracBrowser
for help on using the repository browser.