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
220 stars 146 forks source link

Simulation hanging with egs++ track scoring object #461

Open bsarin opened 6 years ago

bsarin commented 6 years ago

the simulation always stops when i add an "egs track scoring" object in the .egsinp file capture

:start ausgab object:
library = egs_track_scoring
name = tracker
score electrons = no
score positrons = no
score photons = yes
# start scoring = 0 # default is 0
# stop scoring = 1024 # default is 1024
# buffer size = 1024 # default is 1024
:stop ausgab object:
rtownson commented 6 years ago

Pull request #454 might fix this - let me know. Either checkout the pull request or try adding the following at line 309 in tutor7pp.cpp (then recompile):

the_egsvr->i_do_rr = 1;