Skip to content

Commit

Permalink
Merge branch 'development' into nse_neutrinos
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored Oct 27, 2023
2 parents 1e136b3 + 5dd1a91 commit 45a185e
Show file tree
Hide file tree
Showing 100 changed files with 31,799 additions and 31,291 deletions.
156 changes: 78 additions & 78 deletions networks/CNO_extras/actual_network.H
Original file line number Diff line number Diff line change
Expand Up @@ -24,44 +24,44 @@ namespace Rates

enum NetworkRates
{
k_n13_to_c13_weak_wc12 = 1,
k_o14_to_n14_weak_wc12 = 2,
k_o15_to_n15_weak_wc12 = 3,
k_f17_to_o17_weak_wc12 = 4,
k_f18_to_o18_weak_wc12 = 5,
k_ne18_to_f18_weak_wc12 = 6,
k_ne19_to_f19_weak_wc12 = 7,
k_p_c12_to_n13 = 8,
k_he4_c12_to_o16 = 9,
k_p_c13_to_n14 = 10,
k_p_n13_to_o14 = 11,
k_p_n14_to_o15 = 12,
k_he4_n14_to_f18 = 13,
k_p_n15_to_o16 = 14,
k_he4_n15_to_f19 = 15,
k_he4_o14_to_ne18 = 16,
k_he4_o15_to_ne19 = 17,
k_p_o16_to_f17 = 18,
k_he4_o16_to_ne20 = 19,
k_p_o17_to_f18 = 20,
k_p_o18_to_f19 = 21,
k_p_f17_to_ne18 = 22,
k_p_f18_to_ne19 = 23,
k_p_f19_to_ne20 = 24,
k_he4_ne18_to_mg22 = 25,
k_he4_ne20_to_mg24 = 26,
k_c12_c12_to_he4_ne20 = 27,
k_he4_n13_to_p_o16 = 28,
k_p_n15_to_he4_c12 = 29,
k_he4_o14_to_p_f17 = 30,
k_c12_o16_to_he4_mg24 = 31,
k_p_o17_to_he4_n14 = 32,
k_p_o18_to_he4_n15 = 33,
k_p_f18_to_he4_o15 = 34,
k_p_f19_to_he4_o16 = 35,
k_p_ne20_to_he4_f17 = 36,
k_he4_he4_he4_to_c12 = 37,
NumRates = k_he4_he4_he4_to_c12
k_N13_to_C13_weak_wc12 = 1,
k_O14_to_N14_weak_wc12 = 2,
k_O15_to_N15_weak_wc12 = 3,
k_F17_to_O17_weak_wc12 = 4,
k_F18_to_O18_weak_wc12 = 5,
k_Ne18_to_F18_weak_wc12 = 6,
k_Ne19_to_F19_weak_wc12 = 7,
k_p_C12_to_N13 = 8,
k_He4_C12_to_O16 = 9,
k_p_C13_to_N14 = 10,
k_p_N13_to_O14 = 11,
k_p_N14_to_O15 = 12,
k_He4_N14_to_F18 = 13,
k_p_N15_to_O16 = 14,
k_He4_N15_to_F19 = 15,
k_He4_O14_to_Ne18 = 16,
k_He4_O15_to_Ne19 = 17,
k_p_O16_to_F17 = 18,
k_He4_O16_to_Ne20 = 19,
k_p_O17_to_F18 = 20,
k_p_O18_to_F19 = 21,
k_p_F17_to_Ne18 = 22,
k_p_F18_to_Ne19 = 23,
k_p_F19_to_Ne20 = 24,
k_He4_Ne18_to_Mg22 = 25,
k_He4_Ne20_to_Mg24 = 26,
k_C12_C12_to_He4_Ne20 = 27,
k_He4_N13_to_p_O16 = 28,
k_p_N15_to_He4_C12 = 29,
k_He4_O14_to_p_F17 = 30,
k_C12_O16_to_He4_Mg24 = 31,
k_p_O17_to_He4_N14 = 32,
k_p_O18_to_He4_N15 = 33,
k_p_F18_to_He4_O15 = 34,
k_p_F19_to_He4_O16 = 35,
k_p_Ne20_to_He4_F17 = 36,
k_He4_He4_He4_to_C12 = 37,
NumRates = k_He4_He4_He4_to_C12
};

// number of reaclib rates
Expand All @@ -78,53 +78,53 @@ namespace Rates

static const std::vector<std::string> rate_names = {
"", // 0
"n13_to_c13_weak_wc12", // 1,
"o14_to_n14_weak_wc12", // 2,
"o15_to_n15_weak_wc12", // 3,
"f17_to_o17_weak_wc12", // 4,
"f18_to_o18_weak_wc12", // 5,
"ne18_to_f18_weak_wc12", // 6,
"ne19_to_f19_weak_wc12", // 7,
"p_c12_to_n13", // 8,
"he4_c12_to_o16", // 9,
"p_c13_to_n14", // 10,
"p_n13_to_o14", // 11,
"p_n14_to_o15", // 12,
"he4_n14_to_f18", // 13,
"p_n15_to_o16", // 14,
"he4_n15_to_f19", // 15,
"he4_o14_to_ne18", // 16,
"he4_o15_to_ne19", // 17,
"p_o16_to_f17", // 18,
"he4_o16_to_ne20", // 19,
"p_o17_to_f18", // 20,
"p_o18_to_f19", // 21,
"p_f17_to_ne18", // 22,
"p_f18_to_ne19", // 23,
"p_f19_to_ne20", // 24,
"he4_ne18_to_mg22", // 25,
"he4_ne20_to_mg24", // 26,
"c12_c12_to_he4_ne20", // 27,
"he4_n13_to_p_o16", // 28,
"p_n15_to_he4_c12", // 29,
"he4_o14_to_p_f17", // 30,
"c12_o16_to_he4_mg24", // 31,
"p_o17_to_he4_n14", // 32,
"p_o18_to_he4_n15", // 33,
"p_f18_to_he4_o15", // 34,
"p_f19_to_he4_o16", // 35,
"p_ne20_to_he4_f17", // 36,
"he4_he4_he4_to_c12" // 37,
"N13_to_C13_weak_wc12", // 1,
"O14_to_N14_weak_wc12", // 2,
"O15_to_N15_weak_wc12", // 3,
"F17_to_O17_weak_wc12", // 4,
"F18_to_O18_weak_wc12", // 5,
"Ne18_to_F18_weak_wc12", // 6,
"Ne19_to_F19_weak_wc12", // 7,
"p_C12_to_N13", // 8,
"He4_C12_to_O16", // 9,
"p_C13_to_N14", // 10,
"p_N13_to_O14", // 11,
"p_N14_to_O15", // 12,
"He4_N14_to_F18", // 13,
"p_N15_to_O16", // 14,
"He4_N15_to_F19", // 15,
"He4_O14_to_Ne18", // 16,
"He4_O15_to_Ne19", // 17,
"p_O16_to_F17", // 18,
"He4_O16_to_Ne20", // 19,
"p_O17_to_F18", // 20,
"p_O18_to_F19", // 21,
"p_F17_to_Ne18", // 22,
"p_F18_to_Ne19", // 23,
"p_F19_to_Ne20", // 24,
"He4_Ne18_to_Mg22", // 25,
"He4_Ne20_to_Mg24", // 26,
"C12_C12_to_He4_Ne20", // 27,
"He4_N13_to_p_O16", // 28,
"p_N15_to_He4_C12", // 29,
"He4_O14_to_p_F17", // 30,
"C12_O16_to_He4_Mg24", // 31,
"p_O17_to_He4_N14", // 32,
"p_O18_to_He4_N15", // 33,
"p_F18_to_He4_O15", // 34,
"p_F19_to_He4_O16", // 35,
"p_Ne20_to_He4_F17", // 36,
"He4_He4_He4_to_C12" // 37,
};

}

#ifdef NSE_NET
namespace NSE_INDEX
{
constexpr int h1_index = 0;
constexpr int n_index = -1;
constexpr int he4_index = 1;
constexpr int H1_index = 0;
constexpr int N_index = -1;
constexpr int He4_index = 1;

// 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 45a185e

Please sign in to comment.