Skip to content

MT5 fix#208

Merged
valeriaRaffuzzi merged 5 commits into
CambridgeNuclear:mainfrom
ChasingNeutrons:MT5_ifx
Apr 9, 2026
Merged

MT5 fix#208
valeriaRaffuzzi merged 5 commits into
CambridgeNuclear:mainfrom
ChasingNeutrons:MT5_ifx

Conversation

@ChasingNeutrons

Copy link
Copy Markdown
Collaborator

This addresses #207 by putting a floor on the neutron energy sampled from neutronScatter. I also added in two new variables: MINIMUM_ENERGY and MAXIMUM_ENERGY. We don't actually use 1E-11 and 20.0 all that often in the code, but there are a handful of places - maybe we should use them more? There might be some places I have forgotten to include these where they might be relevant, so let me know if you think of any.

@valeriaRaffuzzi valeriaRaffuzzi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix, looks good!
One thing to note is that the energy boundaries in the collision Operator are independent from those of the nucleardatabase. This is something we might want to unify at some point, if possible. But for now this is ok, since it just replaces a hardcoded parameter by a global variable.

@valeriaRaffuzzi valeriaRaffuzzi merged commit e1fb3bd into CambridgeNuclear:main Apr 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants