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 <Thomas.Forbriger@kit.edu>
 [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 <Thomas.Forbriger@kit.edu>
 [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 <Thomas.Forbriger@kit.edu>
 [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 <Thomas.Forbriger@kit.edu>
 [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 <Thomas.Forbriger@kit.edu>
 Merge branch 'master' into greensynt
3482633 2014-09-24 10:56:14 +0200 Thomas Forbriger <Thomas.Forbriger@kit.edu>
 [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 <Thomas.Forbriger@kit.edu>
 [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 <Thomas.Forbriger@kit.edu>
 [WP] (greensynt): add COPYING
 src/green/synt/COPYING | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 5657
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parents f3f3b00c 7a439fc4
this is <COPYING>
============================================================================
programs to calculate synthetic Fourier-Bessel expansion coefficients
---------------------------------------------------------------------
green/synt
============================================================================
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
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
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
-ltf -L$(LOCLIBDIR)
wsyg: syg.o
$(FC) -o $@ $< -lwrefsub -lrefread \
$(FC) -o $@ $< -lwrefsub -lrefpar \
-ltf -L$(LOCLIBDIR)
# gevas version
# currently not supported
gsyg: syg.o
$(FC) -o $@ $< -lgrgevsub -lflgevas -lwo -lrefread \
$(FC) -o $@ $< -lgrgevsub -lflgevas -lwo -lrefpar \
-ltf -L$(LOCLIBDIR)
syg: syg.o
$(FC) -o $@ $< -lgrrefsub -lrefread \
$(FC) -o $@ $< -lgrrefsub -lrefpar \
-ltf -L$(LOCLIBDIR)
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 \
-ltf -L$(LOCLIBDIR)
# analytical section
# currently not supported
afehsyg: syg.o
$(FC) -o $@ $< -lanafsexphyd -lrefread \
$(FC) -o $@ $< -lanafsexphyd -lrefpar \
-ltf -L$(LOCLIBDIR)
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
ifdef TF_MAKEPKG
.PHONY: package
# export PACKAGELINKSFORTRAN=yes
export PACKAGENEEDSPGPLOT=NO
package: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=greensynt \
PACKAGEEXPORT="trunk/src/green/synt:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="-"
.PHONY: fullpackage
fullpackage: $(TF_MAKEPKG)
$(MAKE) -f $< \
PACKAGE=greensyntwithlibs \
PACKAGEEXPORT="trunk/src/green/synt:src" \
PACKAGETARGETS="src:all" \
PACKAGELIBS="libaff libtime libgsexx libsffxx libtfxx \
libdatrwxx libfapidxx \
libgrrefsub librefpar librheology libsff libsffu libtf \
libwrefsub"
endif
# ----- END OF Makefile -----
this is <README>
============================================================================
programs to calculate synthetic Fourier-Bessel expansion coefficients
---------------------------------------------------------------------
green/synt
============================================================================
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
approach.
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:
dig
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.
gresy
The program gresy calculates synthetic waveform data from a given set of
Fourier-Bessel expansion coefficients.
gresyx
This version is linked against libdatrwxx and supports output in
different file formats other than SFF.
gresynoise
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.
syg
Calculates synthetic Fourier-Bessel expansion coefficients with the
reflectivity method.
rhesyg
Calculates synthetic Fourier-Bessel expansion coefficients with the
reflectivity method. This version uses the physically correct rheology of
a standard-linear-solid.
wsyg
This version of syg is linked against libwrefsub, a version which
supports models of subsurface structure with a liquid layer on top.
==========================================================================
Installation
------------
For compilation instructions see README.1st in the root directory of the
tar-ball or
http://gpitrsvn.gpi.uni-karlsruhe.de:8000/TFSoftware/wiki/docs/installation
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
Dependencies:
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
packages.
Further libraries which are required are:
libgsl
libgslcblas
Both are part of the GSL (GNU Scientific Library; www.gnu.org/software/gsl/)
See also README.compile
============================================================================
The home of this software suite is
http://gpitrsvn.gpi.uni-karlsruhe.de:8000/TFSoftware/wiki/trunk/src/green/tools
Please send bug reports and suggestions to
Thomas.Forbriger@kit.edu
----- 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:" \
PACKAGELIBS="-"
endif
# ----- 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