-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into make_1d_cart_mom_have_p
- Loading branch information
Showing
26 changed files
with
433 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ thi | |
nd | ||
ue | ||
bion | ||
aas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: OrszagTang | ||
|
||
on: [pull_request] | ||
jobs: | ||
OrszagTang-3d: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Get submodules | ||
run: | | ||
git submodule update --init | ||
cd external/Microphysics | ||
git fetch; git checkout development | ||
cd ../amrex | ||
git fetch; git checkout development | ||
cd ../.. | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update -y -qq | ||
sudo apt-get -qq -y install curl cmake jq clang g++>=9.3.0 libopenmpi-dev openmpi-bin | ||
- name: Compile OrszagTang | ||
run: | | ||
cd Exec/mhd_tests/OrszagTang | ||
make USE_MPI=TRUE -j 2 | ||
- name: Run OrszagTang-3d | ||
run: | | ||
cd Exec/mhd_tests/OrszagTang | ||
mpirun -np 2 ./Castro3d.gnu.MPI.ex inputs.test amr.plot_files_output=1 | ||
- name: Build the fextrema tool | ||
run: | | ||
cd external/amrex/Tools/Plotfile | ||
make programs=fextrema -j 2 | ||
- name: Check the extrema | ||
run: | | ||
cd Exec/mhd_tests/OrszagTang | ||
../../../external/amrex/Tools/Plotfile/fextrema.gnu.ex plt00010 > fextrema.out | ||
diff fextrema.out ci-benchmarks/OrszagTang-3d.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
plotfile = plt00010 | ||
time = 0.00017983829222995601 | ||
variables minimum value maximum value | ||
density 0.22099460191 0.22100305489 | ||
xmom -0.2210626652 0.2210626652 | ||
ymom -0.2211744105 0.2211744105 | ||
zmom -1.3394504115e-20 1.2796480966e-20 | ||
rho_E 0.19805685456 0.46260143162 | ||
rho_e 0.19794567403 0.19795835472 | ||
Temp 7.2178022365e-09 7.2179887773e-09 | ||
rho_X 0.22099460191 0.22100305489 | ||
pressure 0.1326236016 0.13263209766 | ||
x_velocity -1.0002839593 1.0002839593 | ||
y_velocity -1.0007881112 1.0007881112 | ||
z_velocity -6.0608661064e-20 5.7902777063e-20 | ||
B_x -0.28206060038 0.28206060038 | ||
B_y -0.28220293547 0.28220293547 | ||
B_z -1.5570588641e-18 1.630216695e-18 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.