Skip to content

Fix MF=4 Legendre angular distribution weighting - #46

Merged
paulromano merged 3 commits into
mainfrom
legendre-fix
Oct 13, 2026
Merged

paulromano merged 3 commits into
mainfrom
legendre-fix

Conversation

@paulromano

Copy link
Copy Markdown
Owner

AngleDistribution.from_dict currently passes ENDF angular coefficients directly to numpy's Legendre class after inserting the implied coefficient $a_0=1$, which misses the fact that ENDF requires weighting by the $(2\ell+1)/2$. This PR fixes this by applying this weighting in both the LTT=1 conversion and the Legendre portion of LTT=3.

@paulromano
paulromano enabled auto-merge (squash) October 13, 2026 19:11
@paulromano
paulromano merged commit 3ace536 into main Oct 13, 2026
5 checks passed
@paulromano
paulromano deleted the legendre-fix branch October 13, 2026 19:13
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.

1 participant