Skip to content

Commit c7b0360

Browse files
committed
he-burn nets: consider tabular rates for all nuclei
previously we were only considering them for Fe group this doesn't change anything yet, but if we make larger nets and/or add coverage of weak rates, we may pull in some more
1 parent 444d983 commit c7b0360

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

networks/he-burn/he_burn_core.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# they can then adjust these via various approximations
33

44
import pynucastro as pyna
5-
from pynucastro.rates import ReacLibRate, TabularRate
5+
from pynucastro.rates import ReacLibRate
6+
67

78
def get_core_library(*,
89
include_n14_sequence=False,
@@ -89,13 +90,13 @@ def get_core_library(*,
8990
if include_low_ye:
9091
iron_peak += ["mn55"]
9192

92-
9393
iron_reaclib = reaclib_lib.linking_nuclei(iron_peak)
9494

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

98-
all_lib = core_lib + iron_reaclib + iron_weak_lib
99+
all_lib = core_lib + iron_reaclib + weak_lib
99100

100101
else:
101102
all_lib = core_lib

0 commit comments

Comments
 (0)