10.07.2015 Views

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

THE EGS5 CODE SYSTEM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

!-----------------------------------------------------------------------implicit none! ------------! <strong>EGS5</strong> COMMONs! ------------include ’include/egs5_h.f’! Main EGS "header" fileinclude ’include/egs5_bounds.f’include ’include/egs5_media.f’include ’include/egs5_misc.f’include ’include/egs5_thresh.f’include ’include/egs5_useful.f’include ’include/egs5_usersc.f’include ’include/randomm.f’! bounds contains ecut and pcut! media contains the array media! misc contains med! thresh contains ae and ap! useful contains RM! usersc contains emaxecommon/geom/zboundreal*8 zbound! geom passes info to our howfar routinecommon/score/escore(3),iscore(3)real*8 escoreinteger iscorereal*8 ein,xin,yin,zin,* uin,vin,win,wtininteger iqin,irinreal*8 anorm,totalreal* tarray(2),tt,tt0,tt1,cputimeinteger loop,i,j,ncasecharacter*24 medarr(2)! Arguments! Local variablesreal etime! ----------! Open files! ----------open(UNIT= 6,FILE=’egs5job.out’,STATUS=’unknown’)do loop = 1,3157

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

Saved successfully!

Ooh no, something went wrong!