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.

152 Keywords and input data formatting@@îwBREVOL1-D uniform mesh magnetic field map§ -axis cylindrical symmetry is assumed² ¤÷¨ ¤ ²q "¤¤÷¨, : print the map 0-2, 0-2 2*I= 1,2: print field and coordinates along trajectoriesBNORM, XN Field and X-coordinate normalization coeff. 2*no dim. 2*ETIT Title (begin with “FLIP” to get field map X-flipped) A80Number of longitudinal nodes of the mapIdFNAME [SUM] 1 2Filename (e.g., solenoid.map) A80¤§R \\q , 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 unused 2, 4 or 25 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 FNAME contains the field data. These must be formatted according to the following FORTRAN sequence:OPEN (UNIT = NL, FILE = FNAME, STATUS = ‘OLD’ [,FORM=’UNFORMATTED’])DO 1 I = 1, IXIF (BINARY) THENREAD(NL) X(I), BX(I)ELSEREAD(NL,*) X(I), BX(I)ENDIF1 CONTINUEwhere ›éQí and ú›é í are the longitudinal coordinate and field component at node é í of the mesh. Binary file namesFNAME must begin with B . ‘Binary’ will then automatically be set to ‘.TRUE.’.2 Sumperimposing (summing) field maps is possible. To do so, pile up file names with ’SUM’following each name but the last one. e.g., in the following example, 3 field maps are read and summed˜:myMapFile1 SUMmyMapFile2 SUMmyMapFile3(of course, these maps must all have their mesh defined in identical coordinate frame).

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

Saved successfully!

Ooh no, something went wrong!