source: PSPA/madxPSPA/tests/test-ptc-twiss-old7/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: 849 bytes
Line 
1PTC_TWISS Example2 for the task of the matching between
2a ring and a transferline.
3
4Run command:
5../madxp < example2.madx [ > example2.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 using Twiss
11parameters of the ring at its end as the initial conditions.
12
13Example2 demonstrates an external ("manual") input of the
14initial conditions. The Twiss parameters at the end of ring
15are given as arguments of the PTC_TWISS command-line with
16the 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.