...
 
Commits (5)
......@@ -2,7 +2,6 @@ To compile the program do:
cd sofi2D/src
then
"make sofi2D" to compile the standard staggered grid version (SSG)
or "make sofi2D_rsg" to compile the rotated staggered grid version (RSG)
(you probably need to change the compiler options in soif2D/src/Makefile)
......
......@@ -11,7 +11,7 @@ or can be downloaded [here](https://git.scc.kit.edu/GPIAG-Software/SOFI2D/wikis/
# Download and Newsletter
You can Download the [**latest stable Release**](https://git.scc.kit.edu/GPIAG-Software/SOFI2D/tree/Release) or the current [**beta-version**](https://git.scc.kit.edu/GPIAG-Software/SOFI2D/tree/master).
You can Download the [**latest stable Release**](https://git.scc.kit.edu/GPIAG-Software/SOFI2D/tree/master) or the current [**beta-version**](https://git.scc.kit.edu/GPIAG-Software/SOFI2D/tree/develop).
Additional a SOFI2D branch with benchmarks is available: [**overnightbuilt**](https://git.scc.kit.edu/GPIAG-Software/SOFI2D/tree/overnightbuilt).
To receive news and updates please [**register**](http://www.gpi.kit.edu/Software-WS.php) on the email list [sofi@lists.kit.edu](http://www.gpi.kit.edu/Software-WS.php).
......
......@@ -812,7 +812,7 @@ WRITE\_MODELFILES : switch to decide whether all models RHO, U, Pi (and Taup, Ta
If READMOD=1, the P-wave, S-wave, density model grid (if L=0, see chapter \ref{Q-approximation}) and additionally the attenuation grids (if L=1) are read from external binary files. MFILE defines the basic file name that is expanded by the following extensions: P-wave model: ''.vp'', S-wave model: ''.vs'', density model: ''.rho'', P-wave attenuation model: ''.qp'', S-wave attenuation model: ''.qs''. In the example above, the model files thus are: ''model/test.vp'' (P-wave velocity model), ''model/test.vs'' (S-wave velocity model), ''model/test.rho'' (density model), ''model/test.qp'' (P-wave attenuation model), ''model/test.qs'' (S-wave attenuation model).
In these files, each material parameter value must be saved as 32 bit (4 byte) native float. Velocities must be in meter/second, density values in $kg/m^3$. The fast dimension is the y direction. See src/readmod.c. The number of samples for the entire model in the x-direction is NX and the number of values in the y-direction is always NY. The file size of each model file thus must be NX*NY*4 bytes. You may check the model structure using the SU command ximage: \texttt{ximage n1=$<$NX$>$ n2=$<$NY$>$ $<$ model/test.vp}.
In these files, each material parameter value must be saved as 32 bit (4 byte) native float. Velocities must be in meter/second, density values in $kg/m^3$. The fast dimension is the y direction. See src/readmod.c. The number of samples for the entire model in the x-direction is NX and the number of values in the y-direction is always NY. The file size of each model file thus must be NX*NY*4 bytes. You may check the model structure using the SU command ximage: \texttt{ximage n1=$<$NY$>$ n2=$<$NX$>$ $<$ model/test.vp}.
If READMOD=0 the model is generated ''on the fly'' by sofi2D, i.e. it is generated internally before the time loop starts (see chapter \ref{model_def_func}). We would prefer this way of generating the model grids because this way the size and the discretization intervals (DH) can be controlled by the parameter file sofi2D.json. Furthermore, it is not necessary to generate (large) files by an external program. See section \ref{model_def_func} for an example function that generates the simple block model ''on the fly''. If READMOD=0 this function is called in sofi2D.c and therefore must be specified in \texttt{src/Makefile} (at the top of \texttt{src/Makefile}, see section \ref{compexec}). If you change this file, for example to change the model structure, you need to re-compile sofi2D by changing to the src directory and \texttt{make sofi2D}.
......