njoy / NJOY2016

Nuclear data processing with legacy NJOY
https://www.njoy21.io/NJOY2016
Other
95 stars 82 forks source link

Fix/heatr nbt #288

Closed whaeck closed 1 year ago

whaeck commented 1 year ago

Some evaluations use MF5 energy distribution data for reactions such as MT16, MT15, inelastic levels, etc. in which more than one interpolation ranges are used. Examples from ENDF/B-VIII.0 are Sn119 and Sn122 (there are more than just these, but these are the ones I looked at).

The integration routines did not extract the interpolation data from the right spot in the ENDF file. The tabbar subroutine (which calculates average outgoing neutron energy) and tabsqr subroutine (which calculates photon recoil) were corrected.

paulromano commented 1 year ago

Thanks for putting in this fix @whaeck!

JoffreyDorville commented 1 year ago

Thanks for integrating this correction!

whaeck commented 1 year ago

@kahlerac You'll have to reapprove this since I had to fix a conflict on the release notes.

whaeck commented 1 year ago

Re-approved

Thanks!