Skip to content

Commit 05abdea

Browse files
committed
moves examples from papers to EXAMPLES/reproducible_study/ folder
1 parent 97ea3e7 commit 05abdea

293 files changed

Lines changed: 74 additions & 63 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ jobs:
780780

781781
- name: Run test
782782
env:
783-
TESTDIR: EXAMPLES/electromagnetic_GPR_TM
783+
TESTDIR: EXAMPLES/reproducible_study/Morency2020_electromagnetic_GPR_TM
784784
DEBUG: true
785785
run: ./.github/scripts/run_tests.sh
786786
shell: bash

.travis/run_tests.sh

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@ case "$TESTDIR" in
2222
1) dir=EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/ ;;
2323
2) dir=EXAMPLES/semi_infinite_homogeneous/ ;;
2424
3) dir=EXAMPLES/Gmsh_example_Stacey_MPI/ ;;
25-
4) dir=EXAMPLES/Tromp2005_kernel/ ;;
26-
5) dir=EXAMPLES/poroelastic_acoustic/ ;;
27-
6) dir=EXAMPLES/noise_uniform/ ;;
25+
4) dir=EXAMPLES/reproducible_study/Tromp2005_kernel/ ;;
26+
5) dir=EXAMPLES/reproducible_study/Morency2008_poroelastic_acoustic/ ;;
27+
6) dir=EXAMPLES/reproducible_study/Tromp2010_noise_uniform/ ;;
2828
7) dir=EXAMPLES/axisymmetric_case_AXISYM_option/ ;;
2929
8) dir=EXAMPLES/simple_topography_and_also_a_simple_fluid_layer/ ;;
3030
9) dir=EXAMPLES/Industrial_Format_SEP/ ;;
3131
10) dir=EXAMPLES/Rayleigh_wave_no_crack/ ;;
3232
11) dir=EXAMPLES/Rayleigh_wave_with_crack/ ;;
33-
12) dir=EXAMPLES/Tape2007/ ;;
33+
12) dir=EXAMPLES/reproducible_study/Tape2007/ ;;
3434
13) dir=EXAMPLES/check_absolute_amplitude_of_pressure_source_seismograms_acoustic/ ;;
3535
14) dir=EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_elastic/ ;;
3636
15) dir=EXAMPLES/check_absolute_amplitude_of_force_source_seismograms_viscoelastic/ ;;
37-
16) dir=EXAMPLES/fluid_solid/fluid_solid_external_mesh/ ;;
38-
17) dir=EXAMPLES/poroelastic_semi_infinite_homogeneous/ ;;
37+
16) dir=EXAMPLES/reproducible_study/Komatitsch2000_fluid_solid/fluid_solid_external_mesh/ ;;
38+
17) dir=EXAMPLES/reproducible_study/Morency2008_poroelastic_semi_infinite_homogeneous/ ;;
3939
18) dir=EXAMPLES/initial_mode_LDDRK/ ;;
4040
19) dir=EXAMPLES/moving_sources_acoustic/ ;;
4141
20) dir=EXAMPLES/anisotropic_isotropic_model/ ;;
@@ -207,9 +207,9 @@ if [ "$TESTCOV" == "1" ] && [ "$TESTID" == "0" ]; then
207207
## testing noise example
208208
##
209209
echo "##################################################################"
210-
echo "EXAMPLES/noise_uniform/"
210+
echo "EXAMPLES/reproducible_study/Tromp2010_noise_uniform/"
211211
echo
212-
cd EXAMPLES/noise_uniform/
212+
cd EXAMPLES/reproducible_study/Tromp2010_noise_uniform/
213213
sed -i "s:^NSTEP .*:NSTEP = 10:" DATA/Par_file
214214
./run_this_example.sh
215215
if [[ $? -ne 0 ]]; then exit 1; fi
@@ -224,9 +224,9 @@ if [ "$TESTCOV" == "1" ] && [ "$TESTID" == "0" ]; then
224224
## testing Tape2007 example
225225
##
226226
echo "##################################################################"
227-
echo "EXAMPLES/Tape2007/"
227+
echo "EXAMPLES/reproducible_study/Tape2007/"
228228
echo
229-
cd EXAMPLES/Tape2007/
229+
cd EXAMPLES/reproducible_study/Tape2007/
230230
sed -i "s:^NSTEP .*:NSTEP = 10:" DATA/Par_file
231231
./run_this_example.sh
232232
if [[ $? -ne 0 ]]; then exit 1; fi
@@ -297,9 +297,9 @@ if [ "$TESTCOV" == "1" ] && [ "$TESTID" == "1" ]; then
297297
## testing kernel example
298298
##
299299
echo "##################################################################"
300-
echo "EXAMPLES/Tromp2005_kernel/"
300+
echo "EXAMPLES/reproducible_study/Tromp2005_kernel/"
301301
echo
302-
cd EXAMPLES/Tromp2005_kernel/
302+
cd EXAMPLES/reproducible_study/Tromp2005_kernel/
303303
sed -i "s:^NSTEP .*:NSTEP = 500:" DATA/Par_file
304304
./run_this_example_kernel.sh
305305
if [[ $? -ne 0 ]]; then exit 1; fi
@@ -315,9 +315,9 @@ if [ "$TESTCOV" == "1" ] && [ "$TESTID" == "1" ]; then
315315
## testing poroelastic example
316316
##
317317
echo "##################################################################"
318-
echo "EXAMPLES/poroelastic_acoustic/"
318+
echo "EXAMPLES/reproducible_study/Morency2008_poroelastic_acoustic/"
319319
echo
320-
cd EXAMPLES/poroelastic_acoustic/
320+
cd EXAMPLES/reproducible_study/Morency2008_poroelastic_acoustic/
321321
sed -i "s:^NSTEP .*:NSTEP = 10:" DATA/Par_file
322322
./run_this_example.sh
323323
if [[ $? -ne 0 ]]; then exit 1; fi
@@ -354,9 +354,9 @@ if [ "$TESTCOV" == "1" ] && [ "$TESTID" == "1" ]; then
354354
## testing fluid solid w/ external mesh
355355
##
356356
echo "##################################################################"
357-
echo "EXAMPLES/fluid_solid/fluid_solid_external_mesh/"
357+
echo "EXAMPLES/reproducible_study/Komatitsch2000_fluid_solid/fluid_solid_external_mesh/"
358358
echo
359-
cd EXAMPLES/fluid_solid/fluid_solid_external_mesh/
359+
cd EXAMPLES/reproducible_study/Komatitsch2000_fluid_solid/fluid_solid_external_mesh/
360360
sed -i "s:^NPROC .*:NPROC = 2:" DATA/Par_file
361361
sed -i "s:^NSTEP .*:NSTEP = 10:" DATA/Par_file
362362
./run_this_example.sh
@@ -391,7 +391,7 @@ if [ "$TESTCOV" == "1" ] && [ "$TESTID" == "1" ]; then
391391
echo "##################################################################"
392392
echo "EXAMPLES/Tromp2005_kernel"
393393
echo
394-
cd EXAMPLES/Tromp2005_kernel
394+
cd EXAMPLES/reproducible_study/Tromp2005_kernel
395395
sed -i "s:^NSTEP .*:NSTEP = 500:" DATA/Par_file
396396
sed -i "s:^NO_BACKWARD_RECONSTRUCTION .*:NO_BACKWARD_RECONSTRUCTION = .true.:" DATA/Par_file
397397
sed -i "s:^NTSTEP_BETWEEN_COMPUTE_KERNELS .*:NTSTEP_BETWEEN_COMPUTE_KERNELS = 12:" DATA/Par_file

EXAMPLES/paper_axisymmetry_example/DATA/Par_file renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/DATA/Par_file

File renamed without changes.

EXAMPLES/paper_axisymmetry_example/DATA/SOURCE renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/DATA/SOURCE

File renamed without changes.

EXAMPLES/paper_axisymmetry_example/DATA/STATIONS renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/DATA/STATIONS

File renamed without changes.

EXAMPLES/paper_axisymmetry_example/JensenMesh.py renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/JensenMesh.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#### a = "aString"
3535
#### b = a + 'anotherString'
3636
#### Example which is not working:
37-
#### pathToMeshDir = pathToSpecfem + 'EXAMPLES/paper_axisymmetry_example/MESH'
37+
#### pathToMeshDir = pathToSpecfem + 'EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/MESH'
3838
#### cubit.cmd('cd \"'+pathToMeshDir+'\"')
3939
####
4040
#### 2. No comments after double dots:
@@ -84,7 +84,7 @@
8484
nPml = 3 # PMLs Thickness (number of elements in pmls, 3 is the best option)
8585
elementSize = 70 # Mean element size in meters
8686
# Path where the files have to be written (TODO update this line if wanted)
87-
#pathToMeshDir = pathToSpecfem + 'EXAMPLES/paper_axisymmetry_example/MESH'
87+
#pathToMeshDir = pathToSpecfem + 'EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/MESH'
8888

8989
########################################################################
9090
#################### NOTHING HAS TO BE CHANGED BELOW ###################

EXAMPLES/paper_axisymmetry_example/MESH_SMALL/absorbing_surface_file renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/MESH_SMALL/absorbing_surface_file

File renamed without changes.

EXAMPLES/paper_axisymmetry_example/MESH_SMALL/elements_axis renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/MESH_SMALL/elements_axis

File renamed without changes.

EXAMPLES/paper_axisymmetry_example/MESH_SMALL/elements_cpml_list renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/MESH_SMALL/elements_cpml_list

File renamed without changes.

EXAMPLES/paper_axisymmetry_example/MESH_SMALL/free_surface_file renamed to EXAMPLES/reproducible_study/Bottero2016_axisymmetry_example/MESH_SMALL/free_surface_file

File renamed without changes.

0 commit comments

Comments
 (0)