Skip to content

Commit

Permalink
use nse protons
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Dec 11, 2024
1 parent e6cae55 commit a9f3f16
Show file tree
Hide file tree
Showing 8 changed files with 578 additions and 550 deletions.
101 changes: 52 additions & 49 deletions networks/he-burn/he-burn-31anp/actual_network.H
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ namespace network
else if constexpr (spec == H1) {
return 0.0_rt;
}
else if constexpr (spec == P_nse) {
return 0.0_rt;
}
else if constexpr (spec == He4) {
return 28.295662457999697_rt;
}
Expand Down Expand Up @@ -185,10 +188,10 @@ namespace Rates
k_He4_Si28_to_S32 = 11,
k_p_P31_to_S32 = 12,
k_He4_Cr48_to_Fe52 = 13,
k_p_Mn51_to_Fe52 = 14,
k_p_nse_Mn51_to_Fe52 = 14,
k_He4_Mn51_to_Co55 = 15,
k_He4_Fe52_to_Ni56 = 16,
k_p_Co55_to_Ni56 = 17,
k_p_nse_Co55_to_Ni56 = 17,
k_C12_C12_to_p_Na23 = 18,
k_C12_C12_to_He4_Ne20 = 19,
k_He4_N13_to_p_O16 = 20,
Expand All @@ -200,23 +203,23 @@ namespace Rates
k_p_Na23_to_He4_Ne20 = 26,
k_p_Al27_to_He4_Mg24 = 27,
k_p_P31_to_He4_Si28 = 28,
k_He4_Cr48_to_p_Mn51 = 29,
k_He4_Fe52_to_p_Co55 = 30,
k_He4_Cr48_to_p_nse_Mn51 = 29,
k_He4_Fe52_to_p_nse_Co55 = 30,
k_He4_He4_He4_to_C12 = 31,
k_C12_C12_to_Mg24_modified = 32,
k_O16_O16_to_S32_modified = 33,
k_C12_O16_to_Si28_modified = 34,
k_p_Fe54_to_Co55 = 35,
k_p_nse_Fe54_to_Co55 = 35,
k_He4_Fe54_to_Ni58 = 36,
k_p_Fe56_to_Co57 = 37,
k_p_nse_Fe56_to_Co57 = 37,
k_n_Co55_to_Co56 = 38,
k_n_Co56_to_Co57 = 39,
k_p_Co57_to_Ni58 = 40,
k_He4_Mn51_to_p_Fe54 = 41,
k_He4_Co55_to_p_Ni58 = 42,
k_n_Co56_to_p_Fe56 = 43,
k_p_Co57_to_He4_Fe54 = 44,
k_n_Ni56_to_p_Co56 = 45,
k_p_nse_Co57_to_Ni58 = 40,
k_He4_Mn51_to_p_nse_Fe54 = 41,
k_He4_Co55_to_p_nse_Ni58 = 42,
k_n_Co56_to_p_nse_Fe56 = 43,
k_p_nse_Co57_to_He4_Fe54 = 44,
k_n_Ni56_to_p_nse_Co56 = 45,
k_He4_S32_to_Ar36_removed = 46,
k_p_Cl35_to_Ar36_removed = 47,
k_p_Cl35_to_He4_S32_removed = 48,
Expand Down Expand Up @@ -267,30 +270,30 @@ namespace Rates
k_Si28_to_He4_Mg24_derived = 93,
k_S32_to_p_P31_derived = 94,
k_S32_to_He4_Si28_derived = 95,
k_Fe52_to_p_Mn51_derived = 96,
k_Fe52_to_p_nse_Mn51_derived = 96,
k_Fe52_to_He4_Cr48_derived = 97,
k_Co55_to_He4_Mn51_derived = 98,
k_Ni56_to_p_Co55_derived = 99,
k_Ni56_to_p_nse_Co55_derived = 99,
k_Ni56_to_He4_Fe52_derived = 100,
k_C12_to_He4_He4_He4_derived = 101,
k_p_O16_to_He4_N13_derived = 102,
k_He4_Ne20_to_p_Na23_derived = 103,
k_p_Ne21_to_He4_F18_derived = 104,
k_He4_Mg24_to_p_Al27_derived = 105,
k_He4_Si28_to_p_P31_derived = 106,
k_p_Mn51_to_He4_Cr48_derived = 107,
k_p_Co55_to_He4_Fe52_derived = 108,
k_Co55_to_p_Fe54_derived = 109,
k_p_nse_Mn51_to_He4_Cr48_derived = 107,
k_p_nse_Co55_to_He4_Fe52_derived = 108,
k_Co55_to_p_nse_Fe54_derived = 109,
k_Co56_to_n_Co55_derived = 110,
k_Co57_to_n_Co56_derived = 111,
k_Co57_to_p_Fe56_derived = 112,
k_Ni58_to_p_Co57_derived = 113,
k_Co57_to_p_nse_Fe56_derived = 112,
k_Ni58_to_p_nse_Co57_derived = 113,
k_Ni58_to_He4_Fe54_derived = 114,
k_p_Fe54_to_He4_Mn51_derived = 115,
k_He4_Fe54_to_p_Co57_derived = 116,
k_p_Fe56_to_n_Co56_derived = 117,
k_p_Co56_to_n_Ni56_derived = 118,
k_p_Ni58_to_He4_Co55_derived = 119,
k_p_nse_Fe54_to_He4_Mn51_derived = 115,
k_He4_Fe54_to_p_nse_Co57_derived = 116,
k_p_nse_Fe56_to_n_Co56_derived = 117,
k_p_nse_Co56_to_n_Ni56_derived = 118,
k_p_nse_Ni58_to_He4_Co55_derived = 119,
k_He4_S32_to_p_Cl35_derived_removed = 120,
k_Ar36_to_He4_S32_derived_removed = 121,
k_Ar36_to_p_Cl35_derived_removed = 122,
Expand Down Expand Up @@ -339,10 +342,10 @@ namespace Rates
"He4_Si28_to_S32", // 11,
"p_P31_to_S32", // 12,
"He4_Cr48_to_Fe52", // 13,
"p_Mn51_to_Fe52", // 14,
"p_nse_Mn51_to_Fe52", // 14,
"He4_Mn51_to_Co55", // 15,
"He4_Fe52_to_Ni56", // 16,
"p_Co55_to_Ni56", // 17,
"p_nse_Co55_to_Ni56", // 17,
"C12_C12_to_p_Na23", // 18,
"C12_C12_to_He4_Ne20", // 19,
"He4_N13_to_p_O16", // 20,
Expand All @@ -354,23 +357,23 @@ namespace Rates
"p_Na23_to_He4_Ne20", // 26,
"p_Al27_to_He4_Mg24", // 27,
"p_P31_to_He4_Si28", // 28,
"He4_Cr48_to_p_Mn51", // 29,
"He4_Fe52_to_p_Co55", // 30,
"He4_Cr48_to_p_nse_Mn51", // 29,
"He4_Fe52_to_p_nse_Co55", // 30,
"He4_He4_He4_to_C12", // 31,
"C12_C12_to_Mg24_modified", // 32,
"O16_O16_to_S32_modified", // 33,
"C12_O16_to_Si28_modified", // 34,
"p_Fe54_to_Co55", // 35,
"p_nse_Fe54_to_Co55", // 35,
"He4_Fe54_to_Ni58", // 36,
"p_Fe56_to_Co57", // 37,
"p_nse_Fe56_to_Co57", // 37,
"n_Co55_to_Co56", // 38,
"n_Co56_to_Co57", // 39,
"p_Co57_to_Ni58", // 40,
"He4_Mn51_to_p_Fe54", // 41,
"He4_Co55_to_p_Ni58", // 42,
"n_Co56_to_p_Fe56", // 43,
"p_Co57_to_He4_Fe54", // 44,
"n_Ni56_to_p_Co56", // 45,
"p_nse_Co57_to_Ni58", // 40,
"He4_Mn51_to_p_nse_Fe54", // 41,
"He4_Co55_to_p_nse_Ni58", // 42,
"n_Co56_to_p_nse_Fe56", // 43,
"p_nse_Co57_to_He4_Fe54", // 44,
"n_Ni56_to_p_nse_Co56", // 45,
"He4_S32_to_Ar36_removed", // 46,
"p_Cl35_to_Ar36_removed", // 47,
"p_Cl35_to_He4_S32_removed", // 48,
Expand Down Expand Up @@ -421,30 +424,30 @@ namespace Rates
"Si28_to_He4_Mg24_derived", // 93,
"S32_to_p_P31_derived", // 94,
"S32_to_He4_Si28_derived", // 95,
"Fe52_to_p_Mn51_derived", // 96,
"Fe52_to_p_nse_Mn51_derived", // 96,
"Fe52_to_He4_Cr48_derived", // 97,
"Co55_to_He4_Mn51_derived", // 98,
"Ni56_to_p_Co55_derived", // 99,
"Ni56_to_p_nse_Co55_derived", // 99,
"Ni56_to_He4_Fe52_derived", // 100,
"C12_to_He4_He4_He4_derived", // 101,
"p_O16_to_He4_N13_derived", // 102,
"He4_Ne20_to_p_Na23_derived", // 103,
"p_Ne21_to_He4_F18_derived", // 104,
"He4_Mg24_to_p_Al27_derived", // 105,
"He4_Si28_to_p_P31_derived", // 106,
"p_Mn51_to_He4_Cr48_derived", // 107,
"p_Co55_to_He4_Fe52_derived", // 108,
"Co55_to_p_Fe54_derived", // 109,
"p_nse_Mn51_to_He4_Cr48_derived", // 107,
"p_nse_Co55_to_He4_Fe52_derived", // 108,
"Co55_to_p_nse_Fe54_derived", // 109,
"Co56_to_n_Co55_derived", // 110,
"Co57_to_n_Co56_derived", // 111,
"Co57_to_p_Fe56_derived", // 112,
"Ni58_to_p_Co57_derived", // 113,
"Co57_to_p_nse_Fe56_derived", // 112,
"Ni58_to_p_nse_Co57_derived", // 113,
"Ni58_to_He4_Fe54_derived", // 114,
"p_Fe54_to_He4_Mn51_derived", // 115,
"He4_Fe54_to_p_Co57_derived", // 116,
"p_Fe56_to_n_Co56_derived", // 117,
"p_Co56_to_n_Ni56_derived", // 118,
"p_Ni58_to_He4_Co55_derived", // 119,
"p_nse_Fe54_to_He4_Mn51_derived", // 115,
"He4_Fe54_to_p_nse_Co57_derived", // 116,
"p_nse_Fe56_to_n_Co56_derived", // 117,
"p_nse_Co56_to_n_Ni56_derived", // 118,
"p_nse_Ni58_to_He4_Co55_derived", // 119,
"He4_S32_to_p_Cl35_derived_removed", // 120,
"Ar36_to_He4_S32_derived_removed", // 121,
"Ar36_to_p_Cl35_derived_removed", // 122,
Expand Down Expand Up @@ -472,7 +475,7 @@ namespace NSE_INDEX
{
constexpr int H1_index = 1;
constexpr int N_index = 0;
constexpr int He4_index = 2;
constexpr int He4_index = 3;

// Each row corresponds to the rate in NetworkRates enum
// First 3 row indices for reactants, followed by 3 product indices
Expand Down
Loading

0 comments on commit a9f3f16

Please sign in to comment.