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.

184 Keywords and input data formatting{@@@îR \\ , îwMAP2D2-D Cartesian uniform mesh field map - arbitrary magnetic field², ¤÷¨ ¤ ²q "¤q " ¤÷¨: print the field map 0-2, 0-2 2*I: print field and coordinates alongtrajectoriesBNORM, XN,YN Field and X-,Y-coordinate normalization coeffs. 3*no dim. 3*ETIT Title (begin with “FLIP” to get field map X-flipped) 1 A80¤§ ,Number of longitudinal and horizontal-transversenodes of the mesh (the Z elevation is arbitrary)@ \\2*IFNAME 2 File name (e.g., magnet.map) A80q , 2*no dim., I,3*E: as for CARTEMES cm [,2*no dim., [,3*E,etc.]cm, etc.]O ´ , , , Integration boundary. Ineffective when ¤ O C\. Ž¤ ¡ , ¡ ), ² ) ² -1, 1 or Ž) [´ ¤`O,etc., if ¤`O Ž@ A ) ¡ )IORDRE Degree of polynomial interpolation 2, 4 IXPAS 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 map data. These must be formattedaccording to the following FORTRAN read sequence(normally compatible with TOSCA code OUTPUTS):OPEN (UNIT = NL, FILE = FNAME, STATUS = ‘OLD’)DO 1 J = 1, JYDO 1 I = 1, IXIF (BINARY) THENREAD(NL) Y(J), Z(1), X(I), BY(I,J), BZ(I,J), BX(I,J)ELSEREAD(NL,100) Y(J), Z(1), X(I), BY(I,J), BZ(I,J), BX(I,J)100 FORMAT (1X, 6E11.4)ENDIF1 CONTINUEwhere ›éQí , *é(í are the longitudinal, horizontal coordinates in theat nodes é¢(í of the mesh, $Z(1)$ is the vertical elevation of the map, and ú , ú3 , úware the components of the field.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!