Skip to content

Commit

Permalink
Merge branch 'main' into simplify_low_mass_convective_star
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale authored May 20, 2024
2 parents 31533ea + 69554e1 commit 1796b15
Show file tree
Hide file tree
Showing 45 changed files with 18,640 additions and 22,461 deletions.
13 changes: 13 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Dependabot configuration
# ref: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"

- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "weekly"
6 changes: 3 additions & 3 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Cache pip
uses: actions/cache@v3
uses: actions/cache@v4
with:
# this path is specific to Ubuntu
path: ~/.cache/pip
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get the version
id: get_version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ecsn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
ecsn:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
- name: Compare to stored output
run: |
cd ECSN
diff ECSN-ONe6040-final.hse.24414.06cm ci-benchmarks/ECSN-ONe6040-final.hse.24414.06cm
diff ECSN-ONe6040-final.hse.dx24414.06cm ci-benchmarks/ECSN-ONe6040-final.hse.dx24414.06cm
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install pandoc and doxygen
run: |
sudo apt install pandoc doxygen
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'

Expand All @@ -31,7 +31,7 @@ jobs:
run: echo "::set-output name=dir::$(pip cache dir)"

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand All @@ -54,7 +54,7 @@ jobs:
run: ./deploy_docs_action.sh

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lagrangian_planar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
lagrangian_planar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Compare to stored output
run: |
cd lagrangian_planar
diff glasner_T7.hse.10000.00cm ci-benchmarks/glasner_T7.hse.10000.00cm
diff glasner_T7.hse.dx10000.00cm ci-benchmarks/glasner_T7.hse.dx10000.00cm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/low_mass_convective_star.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
low_mass_convective_star:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Compare to stored output
run: |
cd low_mass_convective_star
diff convective.hse.683.59km ci-benchmarks/convective.hse.683.59km
diff convective.hse.dx683.59km ci-benchmarks/convective.hse.dx683.59km
- name: Run with irregular grid
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/massive_star.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
massive_star:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -45,12 +45,13 @@ jobs:
- name: Run with regular grid
run: |
cd massive_star
./initialmodel1d.gnu.ex inputs
ulimit -s 32768
./initialmodel1d.gnu.ex inputs problem.nx=16384
- name: Compare to stored output
run: |
cd massive_star
diff 15m_500_sec.aprox19.hse.20.00km ci-benchmarks/15m_500_sec.aprox19.hse.20.00km
diff 15m_500_sec.aprox19.hse.dx20.00km ci-benchmarks/15m_500_sec.aprox19.hse.dx20.00km
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spherical.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
spherical:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Compare to stored output
run: |
cd spherical
diff WD_rhoc_2.e9_M_1.1.hse.2.00km ci-benchmarks/WD_rhoc_2.e9_M_1.1.hse.2.00km
diff WD_rhoc_2.e9_M_1.1.hse.dx2.00km ci-benchmarks/WD_rhoc_2.e9_M_1.1.hse.dx2.00km
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sub_chandra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
sub_chandra:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Compare to stored output
run: |
cd sub_chandra
diff sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.hse.CO.N14.10.00km ci-benchmarks/sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.hse.CO.N14.10.00km
diff sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.temp_base-1.75e+08.hse.CO.N14.dx10.00km ci-benchmarks/sub_chandra.M_WD-1.10.M_He-0.050.delta50.00km.hse.CO.N14.dx10.00km
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
test2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Compare to stored output
run: |
cd test2
diff model.hse.5.62km ci-benchmarks/model.hse.5.62km
diff model.hse.dx5.62km ci-benchmarks/model.hse.dx5.62km
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/toy_atm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
toy_atm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/urca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
urca:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ actual_network.F90
build/

tmp_build_dir

nse*.tbl
1,909 changes: 1,909 additions & 0 deletions ECSN/MESA/ONe6040-final.data

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions ECSN/_parameters
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@namespace: problem

model_file character "ECSN-ONe6040-final.raw"

xmin real 0.0

xmax real 2.5e8
Loading

0 comments on commit 1796b15

Please sign in to comment.