source: PSPA/madxPSPA/tests/test-error-2/test-error-2.madx @ 430

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

import madx-5.01.00

File size: 612 bytes
Line 
1TITLE, s='MAD-X test';
2call file="input/coc4.opt";
3call file="input/coc4.seq";
4option,-echo;
5
6Beam, particle = proton, sequence=fivecell, energy = 450.0,
7          NPART=1.05E11, sige=      4.5e-4 ;
8
9use, period=fivecell;
10select,flag=error,pattern="^q.*";
11ealign dx:=tgauss(5.0)*1.1e-3,dy:=tgauss(2.5)*0.3e-3;
12
13select, flag=error, pattern="^q.*";
14efcomp, order:=1, radius:=0.020, hyster:=1,
15hcoeffn:={0.000,0.000,0.00,0.00,
16         0.0006,0.000,0.000,0.000},
17dknr:={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
18dksr:={0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
19
20eprint;
21
22// save the errors in a file
23esave,file="err.file5ac";
24
Note: See TracBrowser for help on using the repository browser.