nrc-cnrc / EGSnrc

Toolkit for Monte Carlo simulation of ionizing radiation — Trousse d'outils logiciels pour la simulation Monte Carlo du rayonnement ionisant
http://nrc-cnrc.github.io/EGSnrc
GNU Affero General Public License v3.0
216 stars 146 forks source link

Outdated default options in EGSnrc documentation #959

Open ftessier opened 1 year ago

ftessier commented 1 year ago

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 commented 1 year ago

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.