Skip to content

Commit 17c8c64

Browse files
author
Simon Stähler
committed
Pulled changes in submit.csh, post_processing.csh and copytemplates.sh from master branch
1 parent d4f7f38 commit 17c8c64

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

SOLVER/UTILS/post_processing.csh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ if ( $gnu_query == 1 ) then
9797
echo
9898
echo "%%%%%%%%% PLOTTING seismograms (gnuplot) %%%%%%%%%%"
9999
cd $outdir
100-
set seistype = `grep "SEISTYPE" param_post_processing |awk '{print $2}' |sed 's/"/ /g' `
100+
set seistype = "disp"
101101
echo "seismogram type:" $seistype
102102
set reclist = `cat $homedir/$simdir1/Data/receiver_names.dat |awk '{print $1}'`
103103
echo "1st receiver:" $reclist[1]

SOLVER/submit.csh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,11 @@ endif
7373

7474
set bgmodel = `grep ^BACKGROUND_MODEL $meshdir/inparam_mesh | awk '{print $2}'`
7575

76-
# if the mesh has different mesh_params.h, copy here
76+
# Since the compiling does not depend on mesh_params.h anymore, we just copy it here anyway.
7777
# actually mesh_params.h is not needed anymore by the solver, just keeping it for
7878
# informational purposes
79-
if ( ! -f mesh_params.h || `diff mesh_params.h $meshdir/mesh_params.h | wc -l` != "0" ) then
80-
echo 'copying mesh_params.h from ' $meshdir
81-
cp $meshdir/mesh_params.h .
82-
endif
79+
echo 'copying mesh_params.h from ' $meshdir
80+
cp $meshdir/mesh_params.h .
8381

8482
# if the mesh has different background_models.F90, copy over
8583
if ( `diff background_models.F90 $meshdir/background_models.F90 | wc -l` != "0" ) then

copytemplates.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ cp SOLVER/inparam_basic.TEMPLATE SOLVER/inparam_basic
99
cp SOLVER/inparam_advanced.TEMPLATE SOLVER/inparam_advanced
1010
cp SOLVER/STATIONS.TEMPLATE SOLVER/STATIONS
1111
cp SOLVER/inparam_source.TEMPLATE SOLVER/inparam_source
12+
cp SOLVER/inparam_hetero.TEMPLATE SOLVER/inparam_hetero
1213
cp SOLVER/CMTSOLUTION.TEMPLATE SOLVER/CMTSOLUTION

0 commit comments

Comments
 (0)