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

misleading message from utils/geomsph.mortran #1174

Open dworogers opened 1 month ago

dworogers commented 1 month ago

For a spherical geometry, the code requires an angle at 90deg. If the user inputs it specifically, the following message is output: " WARNING . 90 DEGREE CONE INPUT BY USER. JUST
MAKING THE POINT." This is misleading, especially as I am currently getting strange results near 90 degrees. So I had arrange to avoid 90 deg and then the code explicitly adds a 90 deg angle since it is mandatory! So the above message should be replaced with something like " NOTE . AS REQUIRED, 90 DEGREE CONE INPUT BY USER." It is not a warning. This is at line 610 in utils/geomsph.mortran