EGSnrc icon indicating copy to clipboard operation
EGSnrc copied to clipboard

Outdated default options in EGSnrc documentation

Open ftessier opened this issue 2 years ago • 1 comments

Default options for transport parameters in the EGSnrc manual PIRS-701 needs updating. For example, @dworogers noted the following outdated passage regarding the default photon cross section:

In the current version of EGSnrc, the user has the option to use photon cross section data other than the default Storm & Israel data. To do this, the user must set the character variable photon xsections (part of the COMIN/MEDIA common block) to the name of the cross section data to use. Cross sections included with the EGSnrc distribution are: i

  1. the Evaluated Photon Data Library[44] (set photon xsections= "epdl")
  2. XCOM data from Berger & Hubbell[37] (set photon xsections= "xcom" – also the default in the absence of any input)

The linked passage is incorrect, given that the default was changed in 2012:

$ cvs diff -r1.48 -r1.49 src/egsnrc.macros
Index: src/egsnrc.macros
===================================================================
RCS file: /home/cvsroot/HEN_HOUSE/src/egsnrc.macros,v
retrieving revision 1.48
retrieving revision 1.49
diff -r1.48 -r1.49
2c2
< " $Id: egsnrc.macros,v 1.48 2012/10/04 23:15:00 Exp $ "
---
> " $Id: egsnrc.macros,v 1.49 2012/10/05 00:19:51 Exp $ "
2252c2252
< REPLACE {$XDATA-DEFAULT} WITH {'si'}
---
> REPLACE {$XDATA-DEFAULT} WITH {'xcom'}

ftessier avatar Feb 07 '23 16:02 ftessier

Upon updating PIRS-701 a lot of outdated defaults EGSnrc transport parameters was revealed across all applications and inside the code, which should all be updated.

ftessier avatar Feb 10 '23 19:02 ftessier