Commit 505d16d0 authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

initiated test cases

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 3997
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent d107bc2b
......@@ -63,7 +63,9 @@ clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.o *.xxx.* *.ps *~ $(PROGRAMS)
flist: $(wildcard *.f *.inc Makefile *.cc *.gpt) doxydoc.cfg README
flist: $(wildcard *.f *.inc Makefile *.cc *.gpt) doxydoc.cfg README \
$(wildcard testcases/*.par) $(wildcard testcases/*.tpl) \
testcases/Makefile
echo $^ | tr ' ' '\n' | sort > $@
.PHONY: edit
......
Schicht ueber Halbraum Referenz Modell
number of layers: 2
earth radius (km): 0.000 reference frequency (Hz): .000
Zb alpha beta rho Qalpha Qbeta Rb
-----------------------------------------------------------------------------
.000 .33180 .00000 .001300 1000.000 -1.000
0.0050000 0.4500 0.23000 1.500000 3.000 3.000
halfspace: 1.7000 0.65000 2.200000 20.000 20.000
par units description
----------------------------------------------------------------------------
Zb km bottom-of-layer depth
alpha km/s P-wave layer velocity
beta km/s S-wave layer velocity
rho g/cm^3 layer density
Qalpha quality factor related to alpha
Qbeta quality factor related to beta
Rb km radius corresponding to bottom of layer
This is a legacy version of the repository. It may be incomplete as well as
inconsistent. See README.history for details. For the old stock of the
repository copyright and licence conditions apply as specified for versions
commited after 2015-03-01. Use recent versions as a base for new development.
The legacy version is only stored to keep a record of history.
# this is <Makefile>
# ----------------------------------------------------------------------------
# $Id$
#
# Copyright (c) 2011 by Thomas Forbriger (BFO Schiltach)
#
# test cases for waveform filters
#
# REVISIONS and CHANGES
# 09/06/2011 V1.0 Thomas Forbriger
#
# ============================================================================
#
all:
flist: Makefile
echo $^ | tr ' ' '\n' | sort > $@
.PHONY: edit
edit: flist; vim $<
.PHONY: clean
clean: ;
-find . -name \*.bak | xargs --no-run-if-empty /bin/rm -v
-/bin/rm -vf flist *.xxx
# ============================================================================
# produce synthetics shot gathers, using refmet
#
MODELS=2lay.par
# source configuration
# --------------------
SRCDUR=0.01
SRCDEPTH=0.0005
zforce.xxx: zforce.tpl
sed -e 's/<SDUR>/$(SRCDUR)/' \
-e 's/<SDEPTH>/$(SRCDEPTH)/' $< > $@
# main file
# ---------
REFMETSRC=zforce.xxx
REFMETMOD=2lay.par
REFMETRCV=linrcv.par
.PRECIOUS: $(REFMETSRC)
refmetmain.xxx: refmetmain.tpl $(REFMETMOD) $(REFMETSRC) $(REFMETRCV)
sed -e 's/<MODEL>/$(REFMETMOD)/' \
-e 's/<SOURCE>/$(REFMETSRC)/' \
-e 's/<RECEIVERS>/$(REFMETRCV)/' $< > $@
seismo.TZ seismo.TR: refmetmain.xxx
refmet -v -4 -o seismo -c $<
# syg
# ---
$(patsubst %.par,%syg.grn,$(MODELS)): %syg.grn: %.par zforce.xxx
syg $^ $@ -P 100,100,100.,10.
# grepg
# -----
%grn.ps: %.grn
grepg $< -W -d $@/ps -p 0.8 -s -f 10 -i
#----------------------------------------------------------------------
# plot preview
%.psp: %.ps; gv $<; /bin/rm -vf $<
# ----- END OF Makefile -----
lineare Auslage
mode, Vred, Tl, Tr, Nr
2, 0., 0., 0., 20
rmin, rmax, phi
0.005, 0.100, 0.
Synthetics main
Model taken from
<MODEL>
Source taken from
<SOURCE>
Receivers taken from
<RECEIVERS>
umin, uwil, uwir, umax, Nu
0., 0., 6.5, 8.5, 1000
fmin, fwil, fwir, fmax, dt, T
0., 0., 130., 130., 0.0010, 3.0
Just a single vertical force at the surface
typ, sig, src, Ts, Td, Zs
2, 2, 1, 0., <SDUR>, <SDEPTH>
F0
1.e5
units
[m/s]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment