11.07.2015 Views

ZGOUBI USERS' GUIDE - HEP

ZGOUBI USERS' GUIDE - HEP

ZGOUBI USERS' GUIDE - HEP

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Keywords and input data formatting 153{@@@¡ Ž" ² ) "k´ ) ) " )¡ ŠwîR \\ , îwCARTEMES2-D Cartesian uniform mesh magnetic field mapmid-plane symmetry is assumed¤ ², ¤;¨ ¤ ²—q ": print the map 0-2, 0-2 2*I: print field and coordinates along trajectories¤÷¨ BNORM, XN,YN Field and X-,Y-coordinate normalization coeffs. 3*no dim. 3*Eq "TIT Title (begin with “FLIP” to get field map X-flipped) 1 A80nodes of the map¤§ ,{Number of (¤§ longitudinal ) and transverse ( )@ \\2*IFNAME 2 Filename (e.g., spes2.map) A80qqq,2*no dim., I, 3*E: integration in the map begins at cm [,2*no dim., [3*E,etc.]cm, etc.]: integration in the map is terminated, , , Integration boundary. Normally ¤ O C\. Ž¤`O ´ ¡ , ¡ ), , ² ) ² ) ), ¤`O w) ? ´ ´,etc., ¤`O Ž@ Aif entrance boundary defined ৠ¡ ²C\by .¡ ) )¤`Oat exit boundary defined ´v§ ¡by: entrance (´å"¡ ) ) " B) boundaries ²†\.q exit¤`O" ²) and up to ¤ O(´ ) "IORDRE Degree of interpolation polynomial 2, 4 or 25 I(see DIPOLE-M)XPAS Integration step cm EKPOS, XCE, KPOS=1: element aligned, 2: misaligned; 1-2, 2*cm, rad I, 3*EYCE, ALEshifts, tilt (unused if KPOS=1)1 Begin “Title” with “FLIP” so as to get the map flipped prior to ray-tracing.2 FNAME contains the field data. These must be formattedaccording to the following FORTRAN sequence:OPEN (UNIT = NL, FILE = FNAME, STATUS = ‘OLD’ [,FORM=’UNFORMATTED’])IF (BINARY) THENREAD(NL) (Y(J), J=1, JY)ELSEREAD(NL,100) (Y(J), J=1, JY)ENDIF100 FORMAT(10 F8.2)DO 1 I=1,IXIF (BINARY) THENREAD(NL) X(I), (BMES(I,J), J=1, JY)ELSEREAD(NL,101) X(I), (BMES(I,J), J=1, JY)101 FORMAT(10 F8.2)ENDIF1 CONTINUEwhere ›éQí and Ié(í are the longitudinal and transverse coordinates and BMES is the field component at a node é(íof the mesh. For binary files, FNAME must begin with B .‘Binary’ will then automatically be set to ‘.TRUE.’

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!