Skip to content

Commit

Permalink
Fix artisoptions_christinenonthermal.h and add check for compilation …
Browse files Browse the repository at this point in the history
…of all option files (#158)
  • Loading branch information
lukeshingles authored Nov 20, 2024
1 parent 913a85f commit c9a64ba
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,10 @@ jobs:
make clean
make STDPAR=ON GPU=ON -j${{ steps.cpu-count.outputs.count}} sn3d exspec
- name: Compile all remaining option files
run: |
find . -name "artisoptions_*.h" ! -name "artisoptions_classic.h" ! -name "artisoptions_nebular.h" -exec sh -c 'cp -v -p {} artisoptions.h && make sn3d' \;
mac-llvm-clang:
runs-on: macos-15
name: macOS llvm clang
Expand Down Expand Up @@ -277,6 +281,10 @@ jobs:
make clean
make STDPAR=ON -j${{ steps.cpu-count.outputs.count}} sn3d exspec
- name: Compile all remaining option files
run: |
find . -name "artisoptions_*.h" ! -name "artisoptions_classic.h" ! -name "artisoptions_nebular.h" -exec sh -c 'cp -v -p {} artisoptions.h && make sn3d' \;
mac-apple-clang:
runs-on: macos-15
name: macOS Apple clang
Expand Down Expand Up @@ -345,3 +353,7 @@ jobs:
cp -v -p artisoptions_classic.h artisoptions.h
make clean
make STDPAR=ON -j${{ steps.cpu-count.outputs.count}} sn3d exspec
- name: Compile all remaining option files
run: |
find . -name "artisoptions_*.h" ! -name "artisoptions_classic.h" ! -name "artisoptions_nebular.h" -exec sh -c 'cp -v -p {} artisoptions.h && make sn3d' \;
4 changes: 4 additions & 0 deletions artisoptions_christinenonthermal.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ constexpr double MINPOP = 1e-40;
constexpr double NU_MIN_R = 1e13;
constexpr double NU_MAX_R = 5e16;

constexpr bool PHIXS_CLASSIC_NO_INTERPOLATION = false;

constexpr bool MULTIBIN_RADFIELD_MODEL_ON = true;

constexpr int RADFIELDBINCOUNT = 64;
Expand Down Expand Up @@ -118,6 +120,8 @@ constexpr bool SF_AUGER_CONTRIBUTION_ON = true;

constexpr bool SF_AUGER_CONTRIBUTION_DISTRIBUTE_EN = false;

constexpr bool NT_WORKFUNCTION_USE_SHELL_OCCUPANCY_FILE = false;

constexpr double TEMPERATURE_SOLVER_ACCURACY = 1e-3;

constexpr double CONTINUUM_NU_INTEGRAL_ACCURACY = 1e-3;
Expand Down

0 comments on commit c9a64ba

Please sign in to comment.