28.11.2014 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

! Step 1: Initialization<br />

!-----------------------------------------------------------------------<br />

implicit none<br />

! ------------<br />

! <strong>EGS5</strong> COMMONs<br />

! ------------<br />

include ’include/egs5_h.f’<br />

! Main EGS "header" file<br />

include ’include/egs5_bounds.f’<br />

include ’include/egs5_edge.f’<br />

include ’include/egs5_epcont.f’<br />

include ’include/egs5_media.f’<br />

include ’include/egs5_misc.f’<br />

include ’include/egs5_thresh.f’<br />

include ’include/egs5_useful.f’<br />

include ’include/egs5_usersc.f’<br />

include ’include/randomm.f’<br />

! bounds contains ecut and pcut<br />

! edge contains iedgfl<br />

! epcont contains iausfl<br />

! media contains the array media<br />

! misc contains med<br />

! thresh contains ae and ap<br />

! useful contains RM<br />

! usersc contains emaxe<br />

! ----------------------<br />

! Auxiliary-code COMMONs<br />

! ----------------------<br />

include ’auxcommons/aux_h.f’<br />

! Auxiliary-code "header" file<br />

include ’auxcommons/pladta.f’<br />

common/score/bwidth,ebin(50)<br />

real*8 bwidth,ebin<br />

real*8 ein,xin,yin,zin,<br />

* uin,vin,win,wtin<br />

integer iqin,irin<br />

real*8 binmax<br />

integer i,icol,j,ncase<br />

character*24 medarr(1)<br />

character*4 line(48)<br />

! Arguments<br />

! Local variables<br />

! ----------<br />

! Open files<br />

! ----------<br />

178

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

Saved successfully!

Ooh no, something went wrong!