source: PSPA/madxPSPA/tests/test-ptc-twiss-old4/README @ 430

Last change on this file since 430 was 430, checked in by touze, 11 years ago

import madx-5.01.00

File size: 1.0 KB
Line 
1PTC_TWISS Example4 for the task of the matching between
2a ring and a transferline.
3
4Run command:
5../madxp < example4.madx [> example4.out]
6
7with the Mad-X output directed to the terminal or to the "*.out" file.
8
9In this example, the PTC_TWISS command is applied to calculate
10the Ripken-style parameters along the transferline.
11A transfer matrix  is used as initial conditions.
12
13Example4 demonstrates an external ("manual") input of the
14initial conditions. The elements of the transfer matrix are
15are given as arguments of the PTC_TWISS command with the
16following PTC_TWISS command:
17
18ptc_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;
Note: See TracBrowser for help on using the repository browser.