Commit 9099adcf authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

[FEATURE] (greensynt): provide package greensynt

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.

[MERGE] (trunk): merge commit master into trunk

15ee043 2014-09-24 13:57:20 +0200 Thomas Forbriger <>
 [FIX] (greensynt): fixed a library reference
 src/green/synt/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

a85cd35 2014-09-24 13:54:40 +0200 Thomas Forbriger <>
 [FIX] (greensynt): adjust libraries in package
 src/green/synt/Makefile | 3 ++-
 src/green/synt/README   | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

dd4aea7 2014-09-24 11:59:44 +0200 Thomas Forbriger <>
 [FEATURE] (greensynt): provide package rule
 src/green/synt/Makefile | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

ccba6c8 2014-09-24 11:53:02 +0200 Thomas Forbriger <>
 [FIX] (librefpar): fix fatal typo in Makefile
 src/green/synt/Makefile     | 14 +++++++-------
 src/green/synt/README       |  2 +-
 src/libs/librefpar/Makefile |  3 ++-
 3 files changed, 10 insertions(+), 9 deletions(-)

35cd1dd 2014-09-24 11:47:30 +0200 Thomas Forbriger <>
 Merge branch 'master' into greensynt
3482633 2014-09-24 10:56:14 +0200 Thomas Forbriger <>
 [WP][DOC] (greensynt): add comments to Makefile
 src/green/synt/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

5e27096 2014-09-24 10:38:17 +0200 Thomas Forbriger <>
 [WP] (greensynt): add proper README
 src/green/synt/README | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)

c5bb3b2 2014-09-24 10:24:07 +0200 Thomas Forbriger <>
 [WP] (greensynt): add COPYING
 src/green/synt/COPYING | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

SVN Path:
SVN Revision: 5657
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parents f3f3b00c 7a439fc4
this is <COPYING>
programs to calculate synthetic Fourier-Bessel expansion coefficients
Copyright (c) 1998, 2010 by Thomas Forbriger (IfG Stuttgart)
These programs are free software; you can redistribute them and/or modify
them under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
The programs are distributed in the hope that they will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
----- END OF COPYING -----
......@@ -67,7 +67,7 @@ clean:
echo $(patsubst %.f,%.c,$(wildcard *.f)) | \
xargs --no-run-if-empty rm -fv
flist: $(wildcard *.f *.inc) Makefile
flist: $(wildcard *.f *.inc) Makefile README COPYING
echo $^ | tr ' ' '\n' | sort > $@
edit: flist; vim $<
......@@ -86,37 +86,65 @@ dig: dig.o
wsyg: syg.o
$(FC) -o $@ $< -lwrefsub -lrefread \
$(FC) -o $@ $< -lwrefsub -lrefpar \
# gevas version
# currently not supported
gsyg: syg.o
$(FC) -o $@ $< -lgrgevsub -lflgevas -lwo -lrefread \
$(FC) -o $@ $< -lgrgevsub -lflgevas -lwo -lrefpar \
syg: syg.o
$(FC) -o $@ $< -lgrrefsub -lrefread \
$(FC) -o $@ $< -lgrrefsub -lrefpar \
gresynoise: gresynoise.o nyquist_check.o
$(FC) -o $@ $^ -lgrrefsub -lrefread \
$(FC) -o $@ $^ -lgrrefsub -lrefpar \
-ltf -lgsl -lgslcblas -lsff -L$(LOCLIBDIR)
gresy: gresy.o nyquist_check.o
$(FC) -o $@ $^ -lgrrefsub -lrefread -lsffu \
$(FC) -o $@ $^ -lgrrefsub -lrefpar -lsffu \
-ltf -lsff -ltime -L$(LOCLIBDIR)
rhesyg: rhesyg.o
$(FC) -o rhesyg rhesyg.o -lgrrefsub -lrheology -lrefread \
$(FC) -o rhesyg rhesyg.o -lgrrefsub -lrheology -lrefpar \
# analytical section
# currently not supported
afehsyg: syg.o
$(FC) -o $@ $< -lanafsexphyd -lrefread \
$(FC) -o $@ $< -lanafsexphyd -lrefpar \
gresyx: gresy.o nyquist_check.o
$(FC) -o $@ $^ -lgrrefsub -lrefread -lsffu -ltf \
$(FC) -o $@ $^ -lgrrefsub -lrefpar -lsffu -ltf \
-lfapidxx -ldatrwxx -lsffxx -lgsexx -ltime++ -laff -L$(LOCLIBDIR)
# create package
# --------------
# is delegated to Makefile.packages
.PHONY: package
package: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=greensynt \
PACKAGEEXPORT="trunk/src/green/synt:src" \
.PHONY: fullpackage
fullpackage: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=greensyntwithlibs \
PACKAGEEXPORT="trunk/src/green/synt:src" \
PACKAGELIBS="libaff libtime libgsexx libsffxx libtfxx \
libdatrwxx libfapidxx \
libgrrefsub librefpar librheology libsff libsffu libtf \
# ----- END OF Makefile -----
this is <README>
programs to calculate synthetic Fourier-Bessel expansion coefficients
This directory caontains programs to calculate synthetic Fourier-Bessel
expansion coefficients for a given model of subsurface structure and to
calculate synthetic waveform data for a given set of Fourier-Bessel expansion
coefficients. The programs are useful in the context of the inversion of
shallow seismic wavefields. The repository contains software for a two-stage
1. Modified Fourier-Bessel transformation for shallow seismic data
2. Inversion of Fourier Bessel expansion coeffcients.
The intermediate data in this approach are Fourier-Bessel expansion
coefficients expressing the recorded waveform data.
The Makefile supports the following binaries:
A program to produce artificial coefficients in the file format of
Fourier-Bessel expansion coefficients which are derived from a set of
dispersion curves. This is used to enter the second stage of inversion
from a set of dispersion curves without a wavefield transformation of
actual waveform data.
The program gresy calculates synthetic waveform data from a given set of
Fourier-Bessel expansion coefficients.
This version is linked against libdatrwxx and supports output in
different file formats other than SFF.
A version of gresy which convolves waveform data with gaussian noise. This
program calculates synthetic noise seismograms for H/V analyses. For this
purpose it reads Fourier-Bessel expansion coefficients for the response to
a vertical force or explosion from files produced by the program syg for
vertical component and radial component displacement fields.
Calculates synthetic Fourier-Bessel expansion coefficients with the
reflectivity method.
Calculates synthetic Fourier-Bessel expansion coefficients with the
reflectivity method. This version uses the physically correct rheology of
a standard-linear-solid.
This version of syg is linked against libwrefsub, a version which
supports models of subsurface structure with a liquid layer on top.
For compilation instructions see README.1st in the root directory of the
tar-ball or
The Makefile supports program compilation and linking. Some binary libraries
are required.
The command
make all
will compile and install the binary executables.
Environment variables control where the results are stored and where
libraries and library header files are expected:
LOCLIBDIR defines location of binary libraries
LOCINCLUDEDIR defines location of C/C++ header files (prototypes)
LOCBINDIR defines location of binary executables
TFSoftware libraries required to compile the code:
libaff libdatrwxx libfapidxx libgrrefsub libgsexx librefpar librheology
libsff libsffu libsffxx libtf libtime libtime++ libwrefsub libtfxx
The libraries can be obtained from where you got the current package from
either in a single package containing all the libraries or in individual
Further libraries which are required are:
Both are part of the GSL (GNU Scientific Library;
See also README.compile
The home of this software suite is
Please send bug reports and suggestions to
----- END OF README -----
......@@ -86,7 +86,7 @@ CPPFLAGS+=$(addprefix -I,$(LOCINCLUDEDIR) $(subst :, ,$(SERVERINCLUDEDIR))) \
LIBSRC=refmet_rmod.f refmet_rsource.f refmet_rrcv.f \
refmet_intro.f refmet_comments.f
LIBOBS=$(patsubst %.s,%.o,$(LIBSRC))
LIBOBS=$(patsubst %.f,%.o,$(LIBSRC))
......@@ -110,4 +110,5 @@ package: $(TF_MAKEPKG)
PACKAGETARGETS="src:install:" \
# ----- END OF Makefile -----
Supports Markdown
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