-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: wdmerger_collision | ||
|
||
on: [pull_request] | ||
jobs: | ||
wdmerger_collision-2d: | ||
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 | ||
- name: Build the fextrema tool | ||
run: | | ||
cd external/amrex/Tools/Plotfile | ||
make programs=fextrema -j | ||
- name: Compile wdmerger 2D | ||
run: | | ||
cd Exec/science/wdmerger/tests/wdmerger_collision | ||
make USE_MPI=FALSE DIM=2 -j | ||
- name: Run wdmerger 2D | ||
run: | | ||
cd Exec/science/wdmerger/tests/wdmerger_collision | ||
./Castro2d.gnu.ex inputs_2d_collision.test amr.plot_files_output=1 castro.output_at_completion=1 | ||
- name: Check the extrema | ||
run: | | ||
cd Exec/science/wdmerger/tests/wdmerger_collision | ||
../../../../../external/amrex/Tools/Plotfile/fextrema.gnu.ex plt00095 > fextrema.out | ||
diff fextrema.out ci-benchmarks/wdmerger_collision_2D.out |
29 changes: 29 additions & 0 deletions
29
Exec/science/wdmerger/tests/wdmerger_collision/ci-benchmarks/wdmerger_collision_2D.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
plotfile = plt00095 | ||
time = 1.25 | ||
variables minimum value maximum value | ||
density 8.7135989982e-05 13349647.761 | ||
xmom -4.462902459e+14 1.4948598476e+15 | ||
ymom -1.8933028543e+15 1.9800614783e+15 | ||
zmom 0 0 | ||
rho_E 7.7947727645e+11 5.6309798098e+24 | ||
rho_e 7.4321701692e+11 5.6087949879e+24 | ||
Temp 100000 3973877162.5 | ||
rho_He4 8.7135989982e-17 1470.6675827 | ||
rho_C12 3.4854395993e-05 5032839.9273 | ||
rho_O16 5.2281593989e-05 7783274.7814 | ||
rho_Ne20 8.7135989982e-17 1162116.9622 | ||
rho_Mg24 8.7135989982e-17 894452.44868 | ||
rho_Si28 8.7135989982e-17 4231715.9339 | ||
rho_S32 8.7135989982e-17 2178714.9444 | ||
rho_Ar36 8.7135989982e-17 497903.21373 | ||
rho_Ca40 8.7135989982e-17 382103.32872 | ||
rho_Ti44 8.7135989982e-17 1576.8703906 | ||
rho_Cr48 8.7135989982e-17 1467.798019 | ||
rho_Fe52 8.7135989982e-17 14830.258302 | ||
rho_Ni56 8.7135989982e-17 182713.66605 | ||
phiGrav -4.6147601744e+17 -2.2055818472e+16 | ||
grav_x -461192457.7 -48603.583752 | ||
grav_y -444701130.64 392305139.85 | ||
grav_z 0 0 | ||
rho_enuc -7.5216081451e+21 4.6756268457e+26 | ||
|