Jpp  master_rocky-43-ge265d140c
the software that should make you happy
JBellhop.sh
Go to the documentation of this file.
1 #!/bin/zsh
2 #
3 # \author mdejong
4 #
5 version=1.0
6 script=${0##*/}
7 
8 # ------------------------------------------------------------------------------------------
9 #
10 # Example script for ray tracing of sound.
11 #
12 # ------------------------------------------------------------------------------------------
13 
14 source $JPP_DIR/setenv.sh $JPP_DIR
15 
16 set_variable DIR `pwd`
17 set_variable DEBUG 2
18 set_variable: FORMAT GRAPHICS_FORMAT gif
19 set_variable+ BATCH GRAPHICS_BATCH -B
20 
21 if do_usage $*; then
22  usage "$script"
23 fi
24 
25 $DIR/JBellhop \
26  -o ${TMPDIR:-/tmp}/bellhop.root \
27  -d $DEBUG
28 
29 JPlot2D \
30  -f ${TMPDIR:-/tmp}/bellhop.root:h2 \
31  -XX \
32  -YY \
33  -> "#Deltax [m]" \
34  -< "#Deltaz [m]" \
35  -\^ "#Deltat [#mus]" \
36  -O COLZ \
37  -N "X 505" \
38  -N "Y 505" \
39  -T "" \
40  -o bellhop.$FORMAT $BATCH