Skip to content

Commit 9ed3eef

Browse files
authored
he-burn nets: also print out number of derived rates (#1765)
1 parent 36c02da commit 9ed3eef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

networks/he-burn/he-burn-31anp/he_burn_31anp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import pynucastro as pyna
2-
from pynucastro.networks import AmrexAstroCxxNetwork
32

43
import he_burn_core
54

@@ -31,6 +30,7 @@ def doit():
3130

3231
print(f"number of nuclei = {len(net.unique_nuclei)}")
3332
print(f"number of ReacLib rates = {len(net.reaclib_rates)}")
33+
print(f"number of derived rates = {len(net.derived_rates)}")
3434
print(f"number of tabular rates = {len(net.tabular_rates)}")
3535

3636
# let's make a figure

networks/he-burn/he-burn-36a/he_burn_36a.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import pynucastro as pyna
2-
from pynucastro.networks import AmrexAstroCxxNetwork
32

43
import he_burn_core
54

@@ -25,6 +24,7 @@ def doit():
2524

2625
print(f"number of nuclei = {len(net.unique_nuclei)}")
2726
print(f"number of ReacLib rates = {len(net.reaclib_rates)}")
27+
print(f"number of derived rates = {len(net.derived_rates)}")
2828
print(f"number of tabular rates = {len(net.tabular_rates)}")
2929

3030
# let's make a figure

0 commit comments

Comments
 (0)