Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XCOM gamma-ray photoionization #52

Merged
merged 58 commits into from
Mar 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
767d99f
XCOM photoionization
Feb 22, 2024
36c44fc
clang format
Feb 26, 2024
ad4f453
clang format
Feb 26, 2024
5556057
Use vector of struct instead of struct with vector members and add ch…
lukeshingles Mar 1, 2024
84f61b1
Update gammapkt.cc
lukeshingles Mar 1, 2024
d2d1a99
Update gammapkt.cc
lukeshingles Mar 1, 2024
471eded
USE_XCOM_GAMMAPHOTOION
lukeshingles Mar 1, 2024
8e860e1
Skip unknown elements
lukeshingles Mar 1, 2024
5ff77d7
Move USE_XCOM_GAMMAPHOTOION to artisoptions
lukeshingles Mar 1, 2024
f0843f8
Add test for kilonova_2d_2dgrid_xcomgammaphotoion
lukeshingles Mar 1, 2024
cd53c27
Set checksums for xcom test
lukeshingles Mar 1, 2024
8cf7b7c
Check xcom_photoion_data.txt exists
lukeshingles Mar 1, 2024
27e58da
add XCOM data file
Mar 1, 2024
9c9ca42
Merge branch 'xcom_photoion' of https://github.com/artis-mcrt/artis i…
Mar 1, 2024
ddaec6a
Update gammapkt.cc
lukeshingles Mar 1, 2024
633bd5f
Update gammapkt.cc
lukeshingles Mar 1, 2024
a2fe978
Add more tests to index of photoion_data
lukeshingles Mar 1, 2024
1eafb08
Fix XCOM file not found
Mar 1, 2024
7485dfd
Fix XCOM file not found
Mar 4, 2024
e310bec
Fix XCOM file not found
Mar 4, 2024
88bead2
Update ci.yml
lukeshingles Feb 22, 2024
7888de0
Update ci.yml
lukeshingles Feb 22, 2024
57e360b
Update ci.yml
lukeshingles Feb 22, 2024
873af3f
Update sn3d.h
lukeshingles Mar 2, 2024
8842354
Update sn3d.h
lukeshingles Mar 2, 2024
b4c4cf5
Update decay.cc
lukeshingles Mar 2, 2024
d22cf2f
Update sn3d.h
lukeshingles Mar 2, 2024
cddc34a
Update decay.cc
lukeshingles Mar 2, 2024
82f3c90
Update vectors.h
lukeshingles Mar 2, 2024
67e84b1
Update sn3d.h
lukeshingles Mar 2, 2024
d425135
Update sn3d.h
lukeshingles Mar 2, 2024
b6b93a3
Update sn3d.h
lukeshingles Mar 2, 2024
5cc6bf0
Update results_md5_final.txt
lukeshingles Mar 2, 2024
3caabe3
Revert "Update sn3d.h"
lukeshingles Mar 2, 2024
fa563d6
Update sn3d.cc
lukeshingles Mar 2, 2024
20f038c
Update sn3d.cc
lukeshingles Mar 2, 2024
c80f458
Update gammapkt.cc
lukeshingles Mar 2, 2024
8b7ae93
Update sn3d.cc
lukeshingles Mar 2, 2024
3da47ca
use std::ofstream for output_file
lukeshingles Mar 2, 2024
02f14cc
Simplify printout
lukeshingles Mar 2, 2024
7d640ce
Avoid using __builtin_unreachable with OPTIMIZE=OFF
lukeshingles Mar 2, 2024
55c29db
Update checksums
lukeshingles Mar 2, 2024
39c9643
Update ci.yml
lukeshingles Mar 2, 2024
8cd2df4
CI: fix spectrum plotting
lukeshingles Mar 2, 2024
86e506a
Update ci.yml
lukeshingles Mar 2, 2024
fe51601
Update ci.yml
lukeshingles Mar 2, 2024
ee719a1
Update ci.yml
lukeshingles Mar 2, 2024
4aaf99c
Update ci.yml
lukeshingles Mar 2, 2024
a35f997
Fix index error in XCOM data interpolation
Mar 4, 2024
d75e4a6
Update results_md5_job0.txt
gleck97 Mar 4, 2024
f79e9a9
Update results_md5_final.txt
gleck97 Mar 4, 2024
ea09477
Update results_md5_final.txt
gleck97 Mar 5, 2024
58887d7
Squashed commit of the following:
lukeshingles Mar 22, 2024
4d178d4
Merge branch 'develop' into xcom_photoion
lukeshingles Mar 22, 2024
cbf53d2
Update results_md5_job0.txt
lukeshingles Mar 22, 2024
cc48465
Const correctness
lukeshingles Mar 22, 2024
2fee165
Merge branch 'develop' into xcom_photoion
lukeshingles Mar 25, 2024
28f44e6
Merge branch 'develop' into xcom_photoion
lukeshingles Mar 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
kilonova_1d_3dgrid,
kilonova_2d_2dgrid,
kilonova_2d_2dgrid_expansionopac,
kilonova_2d_2dgrid_xcomgammaphotoion,
kilonova_2d_3dgrid,
nebularonezone_1d_3dgrid,
]
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

- uses: ZedThree/clang-tidy-review@v0.14.0
id: review
with:
lgtm_comment_body: ''

# Uploads an artefact containing clang_fixes.json
- uses: ZedThree/clang-tidy-review/upload@v0.14.0
Expand Down
2 changes: 2 additions & 0 deletions artisoptions_christinenonthermal.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: 2 additions & 0 deletions artisoptions_classic.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_doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,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 @@ -141,5 +141,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 @@ -149,5 +149,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 @@ -145,5 +145,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
Loading
Loading