-
Notifications
You must be signed in to change notification settings - Fork 32
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
8 changed files
with
272 additions
and
304 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 |
---|---|---|
|
@@ -49,6 +49,8 @@ SOLVER/inparam_source | |
SOLVER/STATIONS | ||
|
||
*.gcno | ||
*.gcda | ||
__pycache__ | ||
.idea/ | ||
MESHER/gitversion.h | ||
Makefile | ||
|
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 @@ | ||
../submit.py |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
#!/bin/bash | ||
set -ev | ||
|
||
./TESTING/test_mesher.py | ||
|
||
cp $TEST_DIR/TEST04_anelastic_anisotropic/inparam_basic . | ||
./submit.py TEST04 $TEST_DIR/TEST04_anelastic_anisotropic/model.bm 100.0 --jobtype local --ntheta 4 | ||
./submit.py TEST04 $TEST_DIR/TEST04_anelastic_anisotropic/model.bm 100.0 --job_type local --ntheta 4 | ||
|
||
cp $TEST_DIR/inparam_basic_el . | ||
./submit.py test_prem_iso_el prem_iso 100.0 --jobtype local --ntheta 4 | ||
./submit.py test_prem_iso_el prem_iso 100.0 --job_type local --ntheta 4 |
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 |
---|---|---|
@@ -1,25 +1,27 @@ | ||
#!/bin/bash | ||
set -ev | ||
|
||
./TESTING/test_mesher.py | ||
|
||
cp $TEST_DIR/inparam_basic_anel . | ||
./submit.py test_prem_iso_anel prem_iso 80.0 --jobtype local --ntheta 4 | ||
./submit.py test_prem_iso_anel prem_iso 80.0 --job_type local --ntheta 4 | ||
|
||
cp $TEST_DIR/inparam_basic_anel . | ||
./submit.py test_prem_ani_anel prem_ani 80.0 --jobtype local --ntheta 4 | ||
./submit.py test_prem_ani_anel prem_ani 80.0 --job_type local --ntheta 4 | ||
|
||
cp $TEST_DIR/inparam_basic_el . | ||
./submit.py test_prem_iso_el prem_iso 80.0 --jobtype local --ntheta 4 | ||
./submit.py test_prem_iso_el prem_iso 80.0 --job_type local --ntheta 4 | ||
|
||
cp $TEST_DIR/inparam_basic_el . | ||
./submit.py test_prem_ani_el prem_ani 80.0 --jobtype local --ntheta 4 | ||
./submit.py test_prem_ani_el prem_ani 80.0 --job_type local --ntheta 4 | ||
|
||
cp $TEST_DIR/inparam_basic_el . | ||
./submit.py test_iasp91 iasp91 80.0 --jobtype local --ntheta 4 | ||
./submit.py test_iasp91 iasp91 80.0 --job_type local --ntheta 4 | ||
|
||
cp $TEST_DIR/inparam_basic_anel . | ||
./submit.py test_ak135f_anel ak135f 80.0 --jobtype local --ntheta 4 | ||
./submit.py test_ak135f_anel ak135f 80.0 --job_type local --ntheta 4 | ||
|
||
cp $TEST_DIR/inparam_basic_el . | ||
./submit.py test_ak135f_el ak135f 80.0 --jobtype local --ntheta 4 | ||
./submit.py test_ak135f_el ak135f 80.0 --job_type local --ntheta 4 | ||
|
||
|
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,24 @@ | ||
#!/usr/bin/env python | ||
# coding: utf-8 | ||
""" | ||
Test all internal meshes of AxiSEM | ||
Author: Simon Stähler, ETH Zürich | ||
""" | ||
|
||
|
||
from submit import int_models, run_axisem | ||
|
||
def test_mesher(modelname): | ||
job_name = 'testmesher' + modelname | ||
|
||
run_axisem(job_name=job_name, | ||
mesh_file=modelname, | ||
mesh_period=20., | ||
mesher_only=True, | ||
ntheta=16) | ||
|
||
|
||
|
||
if __name__=='__main__': | ||
for model in int_models: | ||
test_mesher(model) |
Oops, something went wrong.