Skip to content

ENDF/B-VIII.1 Discrete primary gamma format discrepancy handling in ACER#391

Merged
whaeck merged 6 commits intofeature/llvm-flangfrom
fix/endf81-primary-capture-gammas
Mar 18, 2026
Merged

ENDF/B-VIII.1 Discrete primary gamma format discrepancy handling in ACER#391
whaeck merged 6 commits intofeature/llvm-flangfrom
fix/endf81-primary-capture-gammas

Conversation

@amlewis1578
Copy link
Copy Markdown
Contributor

@amlewis1578 amlewis1578 commented Jan 20, 2026

Fix in ACER for the ENDF/B-VIII.1 format discrepancy for discrete primary gammas in File 6 - the energy listed is the outgoing gamma energy. Previous JENDL releases listed the binding energy, and that is what NJOY2016 expected. This change gathers the library and release number and for ENDF/B-VIII.1 only, converts the energy to what NJOY2016 expects. It also adds a new test case (87) that uses the ENDF/B-VIII.1 Pt190 evaluation.

The library and release number is checked because it is likely that the next release of ENDF/B will resolve this issue.

The corresponding manual change merge request is here

Note:
This commit doesn't touch HEATR - that is a separate problem.

Comment thread src/acefc.f90 Outdated
integer::mt103,mt104,mt105,mt106,mt107
integer::mpmin,mpmax,mdmin,mdmax,mtmin,mtmax,m3min,m3max,m4min,m4max

!-- Modification Jan 2026 by A. Lewis
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.

I think you can remove the modification comments (begin and end)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

they've all been removed

Comment thread src/acefc.f90
!-- is from ENDF-8.1. This will hopefully be resolved before
!-- the next ENDF release.
if (law.eq.1.and.ep.lt.zero) then
if (nlib.eq.0.and.nver.eq.8.and.lrel.eq.1) then
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.

Maybe add a warning for the user to check the format to be sure it is done correctly for non-ENDF evaluations?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I added a message in the else block that the gammas are assumed to follow the JENDL format

@whaeck
Copy link
Copy Markdown
Member

whaeck commented Mar 3, 2026

I updated the release notes in the develop branch. You should pull that in, and update the release notes for this development.

whaeck
whaeck previously approved these changes Mar 18, 2026
@whaeck whaeck changed the base branch from feature/llvm-flang to develop March 18, 2026 19:00
@whaeck whaeck dismissed their stale review March 18, 2026 19:00

The base branch was changed.

@whaeck whaeck changed the base branch from develop to feature/llvm-flang March 18, 2026 19:00
@whaeck whaeck merged commit e6edfd6 into feature/llvm-flang Mar 18, 2026
2 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