Skip to content

Conversation

@zingale
Copy link
Member

@zingale zingale commented Sep 24, 2025

In the he_burn_core.py script, we create a merged library all_lib from core_lib, but
then proceed to still use core_lib for the detailed balance. This still works in the end
because the _rates dict is shared between the two. But we should really be operating
on all_lib. This becomes an issue if we fix this behavior in pynucastro, such that
library addition results in a new library with its own _rates.

The rate ordering here is slightly different now, since the remove rates from the derivation
are now called _derived_removed.

@zingale zingale changed the base branch from main to development September 24, 2025 17:36
@zingale
Copy link
Member Author

zingale commented Sep 24, 2025

This was uncovered by this PR: pynucastro/pynucastro#1112

@zingale zingale merged commit 515c426 into AMReX-Astro:development Sep 24, 2025
34 checks passed
@zingale zingale deleted the fix_derived_he branch September 24, 2025 18:35
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