Commit 941b00c8 authored by Florian Wittkamp's avatar Florian Wittkamp

Renaming to IFOS

! This commit renames DENISE to IFOS !
Keep care and update all of your self written shell scripts etc.
The make target is 'IFOS' (capital letters).
The resulting binary is called 'IFOS' as well.
parent 47565f6c
This is part of DENISE
This is part of IFOS
======================
Developerlist as well as a contactlist for questions and information:
......
INSTALL for DENISE
INSTALL for IFOS
==================
A detailed installation instruction is provided in the chapter 5 of the
documentation (DENISE/doc/manual_DENISE.pdf). If the manual is not compiled,
please use the script DENISE/doc/compile_LaTeX_manual.sh
documentation (IFOS/doc/manual_IFOS.pdf). If the manual is not compiled,
please use the script IFOS/doc/compile_LaTeX_manual.sh
To compile DENISE a MAKEFILE is available in the DENISE/par directory. To
To compile IFOS a MAKEFILE is available in the IFOS/par directory. To
use the MAKEFILE type
make
in the DENISE/par directory. The MAKEFILE compiles the additional libaries
in the IFOS/par directory. The MAKEFILE compiles the additional libaries
lib cseife
lib stfinv
lib aff
lib fourier
before compiling the main program DENISE.
before compiling the main program IFOS.
-------------------------------------------
......
README for DENISE
README for IFOS
=================
DENISE (subwavelength DEtail resolving Nonlinear Iterative SEismic inversion)
IFOS (subwavelength DEtail resolving Nonlinear Iterative SEismic inversion)
is a 2D elastic full waveform inversion code. The inversion problem is solved
by a conjugate gradient method. The gradients are computed in the time domain
with the adjoint method. The forward modeling is also done in the time domain
......@@ -26,11 +26,11 @@ iteration steps in this example)
Installation instructions can be found in the file INSTALL.
A detailed documentation is provided in manual_DENISE.pdf.
A detailed documentation is provided in manual_IFOS.pdf.
To get started with this code try to run the toy example that is described in
chapter 9 in the documentation (manual_DENISE.pdf).
chapter 9 in the documentation (manual_IFOS.pdf).
If you use this code for your own research please cite at least one article
......
# What is DENISE?
# What is IFOS?
DENISE (subwavelength DEtail resolving Nonlinear Iterative SEismic inversion) is a 2D elastic full waveform inversion code.
IFOS (subwavelength DEtail resolving Nonlinear Iterative SEismic inversion) is a 2D elastic full waveform inversion code.
The inversion problem is solved by a conjugate gradient method and the gradients are computed in the time domain with the adjoint method.
The forward modeling is done by a time domain finite difference scheme. The manual is included in the download archive or can be downloaded [here](https://git.scc.kit.edu/GPIAG-Software/DENISE/wikis/home)
The forward modeling is done by a time domain finite difference scheme. The manual is included in the download archive or can be downloaded [here](https://git.scc.kit.edu/GPIAG-Software/IFOS/wikis/home)
# Download and Newsletter
You can Download the [latest Release](https://git.scc.kit.edu/GPIAG-Software/DENISE/tree/Release) or the current [Beta-Version](https://git.scc.kit.edu/GPIAG-Software/DENISE/tree/master)
You can Download the [latest Release](https://git.scc.kit.edu/GPIAG-Software/IFOS/tree/Release) or the current [Beta-Version](https://git.scc.kit.edu/GPIAG-Software/IFOS/tree/master)
To receive news and updates please [register](http://www.gpi.kit.edu/Software-FWI.php) on the email list denise@lists.kit.edu.
To receive news and updates please [register](http://www.gpi.kit.edu/Software-FWI.php) on the email list IFOS@lists.kit.edu.
Please use this list also to ask questions on using the software or to report problems or bugs.
\ No newline at end of file
......@@ -5,6 +5,6 @@ To create the manual pdf please use the script:
compile_LaTeX_manual.sh
If Problems with the compilation occur or Latex isn't installed on your PC,
please visit https://git.scc.kit.edu/GPIAG-Software/DENISE/wikis/home.
please visit https://git.scc.kit.edu/GPIAG-Software/IFOS/wikis/home.
The manual of the latest Release is placed on this page.
......@@ -17,12 +17,12 @@ cd ./latex
/bin/rm -rf *.tit > /dev/null
/bin/rm -rf *.spl > /dev/null
pdflatex manual_DENISE
bibtex manual_DENISE
pdflatex manual_DENISE
pdflatex manual_DENISE
pdflatex manual_DENISE
pdflatex manual_DENISE
pdflatex manual_IFOS
bibtex manual_IFOS
pdflatex manual_IFOS
pdflatex manual_IFOS
pdflatex manual_IFOS
pdflatex manual_IFOS
/bin/rm -rf *.dvi > /dev/null
/bin/rm -rf *.log > /dev/null
......@@ -39,5 +39,5 @@ cd ./latex
/bin/rm -rf *.tit > /dev/null
/bin/rm -rf *.spl > /dev/null
mv manual_DENISE.pdf ../
mv manual_IFOS.pdf ../
cd ..
......@@ -8,7 +8,7 @@ Christian-Albrechts-Universität Kiel
Karlsruhe Institute of Technology
\newline
\noindent\includegraphics[width=1.0\textwidth]{DENISE_title1.png}
\noindent\includegraphics[width=1.0\textwidth]{IFOS_title1.png}
\begin{center}
\begin{minipage}[t]{1.00\textwidth}
......@@ -44,7 +44,7 @@ Florian Wittkamp
\hfill
\begin{minipage}[h]{0.65\textwidth}
\includegraphics[width=\textwidth]{figures/DENISE_Marmousi1.png}
\includegraphics[width=\textwidth]{figures/IFOS_Marmousi1.png}
\end{minipage}
\par\endgroup
......
......@@ -17,7 +17,7 @@ sized problems could be inverted with frequency domain approaches.\\ A spectacul
In order to extract information about the structure and composition of the crust from seismic observations, it is necessary to be able to predict how seismic wavefields are affected by complex structures.
Since exact analytical solutions to the wave equations do not exist for most subsurface configurations, the solutions can be obtained only by numerical methods. For iterative calculations of synthetic seismograms with limited computer resources fast and accurate modeling methods are needed.
The FD modeling/inversion program DENISE (subwavelength $\bf{DE}$tail resolving $\bf{N}$onlinear $\bf{I}$terative $\bf{SE}$ismic inversion), is based on the FD approach described by \cite{virieux:86} and \cite{levander:88}. The present program DENISE has the following extensions
The FD modeling/inversion program IFOS (\textbf{I}nversion of \textbf{F}ully \textbf{O}bserved \textbf{S}eismograms), is based on the FD approach described by \cite{virieux:86} and \cite{levander:88}. The present program IFOS has the following extensions
\begin{itemize}
\item is efficently parallelized using domain decomposition with MPI (\cite{bohlen:02}),
......
%------------------------------------------------------------------------------------------------%
\chapter{\label{cha:STF-Inversion}Source Time Function Inversion}
\textbf{Introduction:}\\
To remove the contribution of the unknown source time function (STF) from the waveform residuals, it is necessary to design a filter which minimizes the misfit to the field recordings and raw synthetics. The library libstfinv from Thomas Forbriger was exported from TFSoftware and can be used with a C API in DENISE. The purpose of this library is to provide methods for the derivation of source-time-functions in approaches to full waveform inversion. Given a set of recorded data and a set of synthetic data (typically, but not necessarilly the impulse response of the subsurface) a source time function is obtained due to some optimization citerion. The synthetic waveforms are convolved with this wavelet and the convolved synthetics as well as the wavelet itself are returned to the user.
To remove the contribution of the unknown source time function (STF) from the waveform residuals, it is necessary to design a filter which minimizes the misfit to the field recordings and raw synthetics. The library libstfinv from Thomas Forbriger was exported from TFSoftware and can be used with a C API in IFOS. The purpose of this library is to provide methods for the derivation of source-time-functions in approaches to full waveform inversion. Given a set of recorded data and a set of synthetic data (typically, but not necessarilly the impulse response of the subsurface) a source time function is obtained due to some optimization citerion. The synthetic waveforms are convolved with this wavelet and the convolved synthetics as well as the wavelet itself are returned to the user.
The source time wavelet in this context not necessarily is the actual force time history of the source used in the experiment or a similar quantity of physical meaning. The source time wavelet simply is the wavelet which minimizes the misfit between synthetic and recorded waveforms due to some misfit condition, if the synthetics are concolved with this wavelet. In particular this implies that the synthetics not necessarily must be the impulse response (Greens function) of the subsurface, they may simply be synthetic waveform computed for some generic source wavelet (like a Ricker wavelet). The derived source time function then have to be understood with respect to this generic wavelet.\\
\newline
......
This diff is collapsed.
This diff is collapsed.
......@@ -3,7 +3,7 @@
\chapter{Examples}
\section{Toy Example Shallow Seismics: Inversion of Viscoelastic Observations}
You can find the input files for the small toy example in the directory \texttt{par/in\_and\_out/toy\_example}. To run the example you can use the shell script \texttt{run\_toy\_example.sh} in the directory \texttt{par}. It is adjusted for a PC with at least 4 CPUs. If you have less CPUs you have to adjust the number of processors in the input files as well as in the call of DENISE in the shell script. The shell script includes all relevant steps. First all libraries and DENISE are compiled. (Do not get nervous about the huge output during compiling.) If you run into problems during this step you maybe have to adjust the variables in \texttt{Makefile\_var} in the directory \texttt{contrib}. Afterwards DENISE starts to simulate observed data for the inversion. The simulated seismograms are renamed for the inversion and DENISE is again compiled with another model function which creates the initial models for the inverison on the fly (see section~\ref{gen_of_mod}). The last step in the shell script is the call of DENISE to start the inversion.\\
You can find the input files for the small toy example in the directory \texttt{par/in\_and\_out/toy\_example}. To run the example you can use the shell script \texttt{run\_toy\_example.sh} in the directory \texttt{par}. It is adjusted for a PC with at least 4 CPUs. If you have less CPUs you have to adjust the number of processors in the input files as well as in the call of IFOS in the shell script. The shell script includes all relevant steps. First all libraries and IFOS are compiled. (Do not get nervous about the huge output during compiling.) If you run into problems during this step you maybe have to adjust the variables in \texttt{Makefile\_var} in the directory \texttt{contrib}. Afterwards IFOS starts to simulate observed data for the inversion. The simulated seismograms are renamed for the inversion and IFOS is again compiled with another model function which creates the initial models for the inverison on the fly (see section~\ref{gen_of_mod}). The last step in the shell script is the call of IFOS to start the inversion.\\
The true model used for the simulation of the observed data is shown in Figure~\ref{Rheinstetten_true_model} whereat the shot positions are marked by the red stars and the CPML frame is marked by the black dashed line. We consider a viscoelastic medium in this test and approximate a constant quality factor of $Q_s=Q_p=20$ in the analyzed frequency band up to 70\,Hz with three relaxation mechanisms of a generalized standard linear solid. The 36 two component receivers used in the inversion are located equidistantly between the sources with a receiver spacing of 1\,m.\\
......
{\color{blue}\begin{verbatim}
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: model grid created by ../genmod/2layer.c
......@@ -59,7 +59,7 @@
"Seismograms" : "comment",
"SEIS_FORMAT" : "1",
"SEIS_FILE" : "su/DENISE",
"SEIS_FILE" : "su/IFOS",
"General inversion parameters" : "comment",
......
......@@ -101,7 +101,7 @@
\input{0_Title.tex}
\title{\textbf{DENISE}\\
\title{\textbf{IFOS}\\
\textbf{User Manual}}
\author{$\copyright$ Christian-Albrechts-Universit\"at Kiel (Germany) and\\
......@@ -115,7 +115,7 @@ Version 2.0
\section*{Authors}
The DENISE code was first developed by Daniel K\"ohn, Denise De Nil and Andr$\rm{\acute{e}}$ Kurzmann at the Christian-Albrechts-Universit\"at Kiel and TU Bergakademie Freiberg (Germany) from 2005 to 2009.\\
The IFOS code was first developed by Daniel K\"ohn, Denise De Nil and Andr$\rm{\acute{e}}$ Kurzmann at the Christian-Albrechts-Universit\"at Kiel and TU Bergakademie Freiberg (Germany) from 2005 to 2009.\\
\newline
The forward code is based on the viscoelastic FD code fdveps (now SOFI2D) by \cite{bohlen:02}.\\
\newline
......@@ -152,7 +152,7 @@ Florian Wittkamp.\\
\newline
\noindent
This is the {"}Karlsruher{"} version of DENISE which in the last years has been developed mainly for the purpose of inverting shallow seismic wavefields. At the moment another focus is to adapt the code for the inversion of marine seismic data.
This is the {"}Karlsruher{"} version of IFOS which in the last years has been developed mainly for the purpose of inverting shallow seismic wavefields. At the moment another focus is to adapt the code for the inversion of marine seismic data.
\newpage
......
default: ../ denise
default: ../ IFOS
.PHONY: aff
aff:
......@@ -17,18 +17,18 @@ libcseife:
$(MAKE) -C ../contrib/libcseife install
.PHONY: denise
denise: aff fourier stfinv libcseife
.PHONY: IFOS
IFOS: aff fourier stfinv libcseife
ifdef MODEL
$(MAKE) -C ../src/ denise MODEL=$(MODEL)
$(MAKE) -C ../src/ IFOS MODEL=$(MODEL)
else
$(MAKE) -C ../src/ denise
$(MAKE) -C ../src/ IFOS
endif
.PHONY: clean
clean:
rm -rf ../bin/denise
rm -rf ../bin/IFOS
$(MAKE) -C ../contrib/aff clean
$(MAKE) -C ../contrib/fourier clean
$(MAKE) -C ../contrib/stfinv clean
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: 2 layer example, model grid created by ../genmod/2layer.c
......@@ -61,7 +61,7 @@
"Seismograms" : "comment",
"SEIS_FORMAT" : "1",
"SEIS_FILE" : "su/DENISE",
"SEIS_FILE" : "su/IFOS",
"General inversion parameters" : "comment",
"INVMAT1" : "1",
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: 2 layer example, model grid created by ../genmod/2layer.c
......@@ -68,7 +68,7 @@
"Seismograms" : "comment",
"NDT" : "1",
"SEIS_FORMAT" : "1",
"SEIS_FILE" : "su/DENISE",
"SEIS_FILE" : "su/IFOS",
"Q-approximation" : "comment",
"L" : "0",
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: 2 layer example, model grid created by ../genmod/2layer.c
......@@ -61,11 +61,11 @@
"Seismograms" : "comment",
"SEIS_FORMAT" : "1",
"SEIS_FILE" : "su/DENISE",
"SEIS_FILE" : "su/IFOS",
"General inversion parameters" : "comment",
"ITERMAX" : "10",
"DATA_DIR" : "su/measured_data/DENISE_real",
"DATA_DIR" : "su/measured_data/IFOS_real",
"INVMAT1" : "1",
"INVMAT" : "0",
"QUELLTYPB" : "1",
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: 2 layer example, model grid created by ../genmod/2layer.c
......@@ -68,7 +68,7 @@
"Seismograms" : "comment",
"NDT" : "1",
"SEIS_FORMAT" : "1",
"SEIS_FILE" : "su/DENISE",
"SEIS_FILE" : "su/IFOS",
"Q-approximation" : "comment",
"L" : "0",
......@@ -94,7 +94,7 @@
"General inversion parameters" : "comment",
"ITERMAX" : "10",
"DATA_DIR" : "su/measured_data/DENISE_real",
"DATA_DIR" : "su/measured_data/IFOS_real",
"INVMAT1" : "1",
"INVMAT" : "0",
"QUELLTYPB" : "1",
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: toy_example_true.c with flnodes.toy_example
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: toy_example_true.c with flnodes.toy_example
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: genmod/toy_example_start.c with flnodes.toy_example.start
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: genmod/toy_example_start.c with flnodes.toy_example.start
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: toy_example_true.c with flnodes.toy_example
......
#-----------------------------------------------------------------
# JSON PARAMETER FILE FOR DENISE
# JSON PARAMETER FILE FOR IFOS
#-----------------------------------------------------------------
# description:
# description/name of the model: genmod/toy_example_start.c with flnodes.toy_example.start
......@@ -56,7 +56,7 @@
"k_max_PML" : "8.0",
"Receiver" : "comment",
"SEISMO" : "2",
"SEISMO" : "5",
"READREC" : "1",
"REC_FILE" : "./receiver/rec_toy_example_ac.dat",
"REFRECX, REFRECY" : "0.0 , 0.0",
......
......@@ -4,24 +4,24 @@
# running forward modeling for calculation of observed data #
###############################################################
# compiling all libraries and DENISE
# compiling all libraries and IFOS
make clean
make denise MODEL=../genmod/toy_example_true.c
make IFOS MODEL=../genmod/toy_example_true.c
# starting DENISE for forward modeling
# starting IFOS for forward modeling
# (depending on the MPI package you maybe have to adjust the following programme call,
# e.g. when using openMPI you do not have to use the 'lamboot' command)
#lamboot
mpirun -np 4 nice -19 ../bin/denise in_and_out/toy_example/toy_example_FW.json | tee in_and_out/toy_example/toy_example_FW.out
mpirun -np 4 nice -19 ../bin/IFOS in_and_out/toy_example/toy_example_FW.json | tee in_and_out/toy_example/toy_example_FW.out
###############################################################
# running the inversion #
###############################################################
# compiling DENISE
# compiling IFOS
make clean
make denise MODEL=../genmod/toy_example_start.c
make IFOS MODEL=../genmod/toy_example_start.c
# starting DENISE
# starting IFOS
#lamboot
mpirun -np 4 nice -19 ../bin/denise in_and_out/toy_example/toy_example_INV.json | tee in_and_out/toy_example/toy_example_INV.out
mpirun -np 4 nice -19 ../bin/IFOS in_and_out/toy_example/toy_example_INV.json | tee in_and_out/toy_example/toy_example_INV.out
......@@ -4,25 +4,25 @@
# running forward modeling for calculation of observed data #
###############################################################
# compiling all libraries and DENISE
# compiling all libraries and IFOS
make clean
make denise MODEL=../genmod/toy_example_true.c MODEL_EL=../genmod/toy_example_elastic_true.c
make IFOS MODEL=../genmod/toy_example_true.c MODEL_EL=../genmod/toy_example_elastic_true.c
# starting DENISE for forward modeling
# starting IFOS for forward modeling
# (depending on the MPI package you maybe have to adjust the following programme call,
# e.g. when using openMPI you do not have to use the 'lamboot' command)
#lamboot
mpirun -np 4 ../bin/denise in_and_out/toy_example/toy_example_FW_SH.json | tee in_and_out/toy_example/toy_example_FW_SH.out
mpirun -np 4 ../bin/IFOS in_and_out/toy_example/toy_example_FW_SH.json | tee in_and_out/toy_example/toy_example_FW_SH.out
###############################################################
# running the inversion #
###############################################################
# compiling DENISE
# compiling IFOS
make clean
make denise MODEL=../genmod/toy_example_start.c MODEL_EL=../genmod/toy_example_elastic_start.c
make IFOS MODEL=../genmod/toy_example_start.c MODEL_EL=../genmod/toy_example_elastic_start.c
# starting DENISE
# starting IFOS
#lamboot
mpirun -np 4 ../bin/denise in_and_out/toy_example/toy_example_INV_SH.json | tee in_and_out/toy_example/toy_example_INV_SH.out
mpirun -np 4 ../bin/IFOS in_and_out/toy_example/toy_example_INV_SH.json | tee in_and_out/toy_example/toy_example_INV_SH.out
......@@ -11,23 +11,23 @@ rm jacobian/toy_example/jac_toy_example*
rm su/toy_example/toy_example*
rm su/measured_data/toy_example*
# compiling all libraries and DENISE
# compiling all libraries and IFOS
make clean
make denise MODEL_AC=../genmod/toy_example_ac_true.c
make IFOS MODEL_AC=../genmod/toy_example_ac_true.c
# starting DENISE for forward modeling
mpirun -np 4 nice -19 ../bin/denise in_and_out/toy_example/toy_example_ac_FW.json | tee in_and_out/toy_example/toy_example_ac_FW.out
# starting IFOS for forward modeling
mpirun -np 4 nice -19 ../bin/IFOS in_and_out/toy_example/toy_example_ac_FW.json | tee in_and_out/toy_example/toy_example_ac_FW.out
###############################################################
# running the inversion #
###############################################################
# compiling DENISE
# compiling IFOS
make clean
make denise MODEL_AC=../genmod/toy_example_ac_start.c
make IFOS MODEL_AC=../genmod/toy_example_ac_start.c
# starting DENISE
mpirun -np 4 nice -19 ../bin/denise in_and_out/toy_example/toy_example_ac_INV.json | tee in_and_out/toy_example/toy_example_ac_INV.out
# starting IFOS
mpirun -np 4 nice -19 ../bin/IFOS in_and_out/toy_example/toy_example_ac_INV.json | tee in_and_out/toy_example/toy_example_ac_INV.out
make clean
......
......@@ -3,7 +3,7 @@ set NT=124
set x=1
while ( $x < 120 )
cp su/full_wave_forward_x.su.shot10_it$x.* /fastfs/koehn/DENISE_results/crase_model_simple_lam_mu_rho_time_win/seis
cp su/full_wave_forward_x.su.shot10_it$x.* /fastfs/koehn/IFOS_results/crase_model_simple_lam_mu_rho_time_win/seis
echo "copy seis it ... $x"
set x = `expr $x + 5`
end
......@@ -6,6 +6,6 @@ echo "cat iteration ... $x"
cat su/$1_x.su.shot51_it$x.* > su/$1_x.su.shot51_it$x.tmp
susort < su/$1_x.su.shot51_it$x.tmp > su/$1_x.su.shot51_it$x gelev
rm su/$1_x.su.shot51_it$x.tmp
cp su/$1_x.su.shot51_it$x /fastfs/koehn/DENISE_results/vp_relation_stepl_450/seis
cp su/$1_x.su.shot51_it$x /fastfs/koehn/IFOS_results/vp_relation_stepl_450/seis
set x = `expr $x + 5`
end
#lamboot -v lamhosts
lamboot
mpirun -np 8 nice -19 ../bin/denise in_and_out/DENISE_INV.json | tee in_and_out/DENISE_INV.out
mpirun -np 8 nice -19 ../bin/IFOS in_and_out/IFOS_INV.json | tee in_and_out/IFOS_INV.out
#cd su
#for ((i=1; i < ($1+1); i++)) ; do
# cat DENISE_y.su.shot$i.* > DENISE_y.su.shot$i
# cat DENISE_x.su.shot$i.* > DENISE_x.su.shot$i
# cat IFOS_y.su.shot$i.* > IFOS_y.su.shot$i
# cat IFOS_x.su.shot$i.* > IFOS_x.su.shot$i
#done
......
rm -f su/DENISE* su/measured_data/DENISE*
rm -f su/IFOS* su/measured_data/IFOS*
lamboot
#lamboot -v lamhosts
mpirun -np 8 nice -19 ../bin/denise in_and_out/DENISE_FW.json | tee in_and_out/DENISE_FW.out
mpirun -np 8 nice -19 ../bin/IFOS in_and_out/IFOS_FW.json | tee in_and_out/IFOS_FW.out
cd model
cp model_Test_rho_it_0.bin model_Test_vp_it_0.bin model_Test_vs_it_0.bin ../model_true/.
cd ..
......@@ -11,8 +11,8 @@ cd su
for ((i=1; i < ($1+1); i++)) ; do
mv DENISE_y.su.shot$i.it1 measured_data/DENISE_y.su.shot$i
mv DENISE_x.su.shot$i.it1 measured_data/DENISE_x.su.shot$i
mv IFOS_y.su.shot$i.it1 measured_data/IFOS_y.su.shot$i
mv IFOS_x.su.shot$i.it1 measured_data/IFOS_x.su.shot$i
done
......
/*------------------------------------------------------------------------
* Copyright (C) 2016 For the list of authors, see file AUTHORS.
*
* This file is part of DENISE.
* This file is part of IFOS.
*
* DENISE is free software: you can redistribute it and/or modify
* IFOS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2.0 of the License only.
*
* DENISE is distributed in the hope that it will be useful,
* IFOS is distributed in the hope that it 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.
......
# Makefile for DENISE
# Makefile for IFOS
#--------------------------------------------------------
# edit here:
......@@ -49,8 +49,8 @@ SNAPMERGE_SCR = \
util.c
DENISE= \
denise.c \
IFOS= \
ifos.c \
stf.c \
window_cos.c \
calc_mat_change_test.c \
......@@ -166,17 +166,17 @@ DENISE= \
SNAPMERGE_OBJ = $(SNAPMERGE_SCR:%.c=%.o)
DENISE_OBJ = $(DENISE:%.c=%.o)
IFOS_OBJ = $(IFOS:%.c=%.o)
snapmerge: $(SNAPMERGE_OBJ)
$(CC) $(SFLAGS) $(SNAPMERGE_OBJ) -o ../bin/snapmerge $(LFLAGS)
denise: $(DENISE_OBJ)
$(CC) $(SFLAGS) $(DENISE_OBJ) -o $(EXEC)/denise $(LFLAGS)
IFOS: $(IFOS_OBJ)
$(CC) $(SFLAGS) $(IFOS_OBJ) -o $(EXEC)/IFOS $(LFLAGS)
clean:
find . -name "*.o" -exec rm {} \;
find . -name "*.c%" -exec rm {} \;
find . -name "*.bck" -exec rm {} \;
find ../genmod -name "*.o" -exec rm {} \;
\ No newline at end of file
find ../genmod -name "*.o" -exec rm {} \;
/*-----------------------------------------------------------------------------------------
* Copyright (C) 2016 For the list of authors, see file AUTHORS.
*
* This file is part of DENISE.
* This file is part of IFOS.
*
* DENISE is free software: you can redistribute it and/or modify
* IFOS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2.0 of the License only.
*
* DENISE is distributed in the hope that it will be useful,
* IFOS is distributed in the hope that it 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 DENISE. See file COPYING and/or <http://www.gnu.org/licenses/gpl-2.0.html>.
* along with IFOS. See file COPYING and/or <http://www.gnu.org/licenses/gpl-2.0.html>.
-----------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------
......
/*-----------------------------------------------------------------------------------------
* Copyright (C) 2016 For the list of authors, see file AUTHORS.
*
* This file is part of DENISE.
* This file is part of IFOS.
*
* DENISE is free software: you can redistribute it and/or modify
* IFOS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2.0 of the License only.
*
* DENISE is distributed in the hope that it will be useful,
* IFOS is distributed in the hope that it 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 DENISE. See file COPYING and/or <http://www.gnu.org/licenses/gpl-2.0.html>.
* along with IFOS. See file COPYING and/or <http://www.gnu.org/licenses/gpl-2.0.html>.
-----------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------
......
/*-----------------------------------------------------------------------------------------
* Copyright (C) 2016 For the list of authors, see file AUTHORS.
*
* This file is part of DENISE.
* This file is part of IFOS.
*
* DENISE is free software: you can redistribute it and/or modify
* IFOS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2.0 of the License only.
*
* DENISE is distributed in the hope that it will be useful,
* IFOS is distributed in the hope that it 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 DENISE. See file COPYING and/or <http://www.gnu.org/licenses/gpl-2.0.html>.
* along with IFOS. See file COPYING and/or <http://www.gnu.org/licenses/gpl-2.0.html>.
-----------------------------------------------------------------------------------------*/
/*
......
/*-----------------------------------------------------------------------------------------
* Copyright (C) 2016 For the list of authors, see file AUTHORS.
*
* This file is part of DENISE.
* This file is part of IFOS.
*
* DENISE is free software: you can redistribute it and/or modify
* IFOS is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, version 2.0 of the License only.
*
* DENISE is distributed in the hope that it will be useful,
* IFOS is distributed in the hope that it 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 DENISE. See file COPYING and/or <http://www.gnu.org/licenses/gpl-2.0.html>.