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.

Table B.15: Variable descriptions for COMMON block USERSC, include file egs5 usersc.f of the <strong>EGS5</strong><br />

distribution.<br />

ESTEPR*<br />

Array of factors by which to scale the energy hinge steps in various regions (default=0,<br />

implying no scaling).<br />

ESAVE*<br />

Array of energies below which to discard electrons which have ranges less than the<br />

perpendicular distances to their current region boundaries (default=0., implying no<br />

range-based discard).<br />

EMAXE* Maximum total energy (in MeV) of any electron in the simulation.<br />

Table B.16: Variable descriptions for COMMON block USERVR, include file egs5 uservr.f of the <strong>EGS5</strong><br />

distribution.<br />

CEXPTR* Constant used in exponential transform of photon collision distance (default=0, no<br />

transformation).<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_uphiot.f’<br />

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

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

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

! epcont contains iausfl<br />

! media contains the array media<br />

! misc contains med<br />

! thresh contains ae and ap<br />

! uphiot contains PI<br />

! useful contains RM<br />

! usersc contains emaxe<br />

Note that most of the variables accessed in a typical user code MAIN program can be found in the<br />

COMMON files referenced by the include statements in the above example. Other variables which<br />

a user code might wish to access and the <strong>EGS5</strong> include files which contain them were given in<br />

Tables B.1 through B.17 of the previous section.<br />

Note that all <strong>EGS5</strong> variables are explicitly declared (all <strong>EGS5</strong> subroutines and functions begin<br />

with the statement IMPLICT NONE), and that all floating-point variables (except some of those used<br />

in the random number generator and in sample user codes which call intrinsic functions to compute<br />

CPU time) are declared as REAL*8.<br />

Table B.17: Variable descriptions for COMMON block USERXT, include file egs5 userxt.f of the <strong>EGS5</strong><br />

distribution.<br />

IPHTER*<br />

Array of flags for turning on (=1) sampling of angular distributions of photoelectrons<br />

in various regions (default=0, implying emission in direction of incident photon).<br />

322

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

Saved successfully!

Ooh no, something went wrong!