Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

he-burn nets: consider tabular rates for all nuclei #1763

Open
wants to merge 2 commits into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions networks/he-burn/he_burn_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
# they can then adjust these via various approximations

import pynucastro as pyna
from pynucastro.rates import ReacLibRate, TabularRate
from pynucastro.rates import ReacLibRate


def get_core_library(*,
include_n14_sequence=False,
Expand Down Expand Up @@ -89,13 +90,13 @@ def get_core_library(*,
if include_low_ye:
iron_peak += ["mn55"]


iron_reaclib = reaclib_lib.linking_nuclei(iron_peak)

weak_lib = pyna.TabularLibrary()
iron_weak_lib = weak_lib.linking_nuclei(iron_peak)
# find the tabular rates for all nuclei
tl = pyna.TabularLibrary()
weak_lib = tl.linking_nuclei(iron_peak + nuclei)

all_lib = core_lib + iron_reaclib + iron_weak_lib
all_lib = core_lib + iron_reaclib + weak_lib

else:
all_lib = core_lib
Expand Down
Loading