Skip to content

Commit

Permalink
Move USE_XCOM_GAMMAPHOTOION to artisoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Mar 1, 2024
1 parent 8e860e1 commit 5ff77d7
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions artisoptions_christinenonthermal.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,7 @@ constexpr bool EXPANSIONOPACITIES_ON = false;

constexpr bool EXPANSION_OPAC_SAMPLE_KAPPAPLANCK = false;

constexpr bool USE_XCOM_GAMMAPHOTOION = false;

// NOLINTEND(modernize*,misc-unused-parameters)
#endif // ARTISOPTIONS_H
2 changes: 2 additions & 0 deletions artisoptions_classic.h
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,7 @@ constexpr bool EXPANSIONOPACITIES_ON = false;

constexpr bool EXPANSION_OPAC_SAMPLE_KAPPAPLANCK = false;

constexpr bool USE_XCOM_GAMMAPHOTOION = false;

// NOLINTEND(modernize*,misc-unused-parameters)
#endif // ARTISOPTIONS_H
2 changes: 2 additions & 0 deletions artisoptions_doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,7 @@ constexpr bool KEEP_ALL_RESTART_FILES;
// multiply bound-free cooling coefficient by upper level population instead of the upper ion target level population
constexpr bool BFCOOLING_USELEVELPOPNOTIONPOP;
// Use XCOM data for gamma photoionisation instead of Si+Fe Equation 2 of Ambwani & Sutherland (1988), Veigele (1973)
constexpr bool USE_XCOM_GAMMAPHOTOION;
```
2 changes: 2 additions & 0 deletions artisoptions_kilonova_lte.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,5 +142,7 @@ constexpr bool EXPANSIONOPACITIES_ON = false;

constexpr bool EXPANSION_OPAC_SAMPLE_KAPPAPLANCK = false;

constexpr bool USE_XCOM_GAMMAPHOTOION = false;

// NOLINTEND(modernize*,misc-unused-parameters)
#endif // ARTISOPTIONS_H
2 changes: 2 additions & 0 deletions artisoptions_nltenebular.h
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,7 @@ constexpr bool EXPANSIONOPACITIES_ON = false;

constexpr bool EXPANSION_OPAC_SAMPLE_KAPPAPLANCK = false;

constexpr bool USE_XCOM_GAMMAPHOTOION = false;

// NOLINTEND(modernize*,misc-unused-parameters)
#endif // ARTISOPTIONS_H
2 changes: 2 additions & 0 deletions artisoptions_nltewithoutnonthermal.h
Original file line number Diff line number Diff line change
Expand Up @@ -146,5 +146,7 @@ constexpr bool EXPANSIONOPACITIES_ON = false;

constexpr bool EXPANSION_OPAC_SAMPLE_KAPPAPLANCK = false;

constexpr bool USE_XCOM_GAMMAPHOTOION = false;

// NOLINTEND(modernize*,misc-unused-parameters)
#endif // ARTISOPTIONS_H
2 changes: 0 additions & 2 deletions gammapkt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
namespace gammapkt {
// Code for handing gamma rays - creation and propagation

constexpr bool USE_XCOM_GAMMAPHOTOION = true;

struct gamma_line {
double energy{}; // in erg
double probability{};
Expand Down

0 comments on commit 5ff77d7

Please sign in to comment.