-
Notifications
You must be signed in to change notification settings - Fork 148
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1200 from danielpeter/devel
updates examples and utils folder; adds support for nummaterial_velocity_file for external meshes; updates config files
- Loading branch information
Showing
342 changed files
with
6,558 additions
and
4,376 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
cff-version: 1.2.0 | ||
|
||
message: "If this software turns out to be helpful for your research, please cite both the article from preferred-citation and the software itself. More detailed citation suggestions can be found in the user manual." | ||
title: 'SPECFEM/specfem2d: SPECFEM2D v8.1.0' | ||
version: v8.1.0 | ||
date-released: '2023-12-20' | ||
repository-code: https://github.com/SPECFEM/specfem2d/tree/v8.1.0 | ||
url: "https://github.com/SPECFEM/specfem2d" | ||
type: software | ||
identifiers: | ||
- type: doi | ||
- value: 10.5281/zenodo.10415228 | ||
license: | ||
- gpl-3.0-or-later | ||
|
||
authors: | ||
- family-names: Komatitsch | ||
given-names: Dimitri | ||
- family-names: Tromp | ||
given-names: Jeroen | ||
- family-names: Gharti | ||
given-names: Hom Nath | ||
- family-names: Peter | ||
given-names: Daniel | ||
- family-names: Valero Cano | ||
given-names: Eduardo | ||
- family-names: Bachmann | ||
given-names: Etienne | ||
- family-names: Bottero | ||
given-names: Alexis | ||
- family-names: Brissaud | ||
given-names: Quentin | ||
- family-names: Chow | ||
given-names: Bryant | ||
- family-names: Cristini | ||
given-names: Paul | ||
- family-names: Cui | ||
given-names: Congyue | ||
- family-names: Gassmoeller | ||
given-names: Rene | ||
- family-names: Gineste | ||
given-names: Michael | ||
- family-names: Halpaap | ||
given-names: Felix | ||
- family-names: Heien | ||
given-names: Eric | ||
- family-names: Labarta | ||
given-names: Jesus | ||
- family-names: Le Goff | ||
given-names: Nicolas | ||
- family-names: Le Loher | ||
given-names: Pieyre | ||
- family-names: Lefebvre | ||
given-names: Matthieu | ||
- family-names: Liu | ||
given-names: Qiancheng | ||
- family-names: Liu | ||
given-names: Qinya | ||
- family-names: Liu | ||
given-names: Youshan | ||
- family-names: Liu | ||
given-names: Zhaolun | ||
- family-names: Luet | ||
given-names: David | ||
- family-names: Martin | ||
given-names: Roland | ||
- family-names: Matzen | ||
given-names: Rene | ||
- family-names: Modrak | ||
given-names: Ryan | ||
- family-names: Morency | ||
given-names: Christina | ||
- family-names: Nagaso | ||
given-names: Masaru | ||
- family-names: Rosenkrantz | ||
given-names: Eric | ||
- family-names: Rusmanugroho | ||
given-names: Herurisa | ||
- family-names: Sales de Andrade | ||
given-names: Elliott | ||
- family-names: Tape | ||
given-names: Carl | ||
- family-names: Vilotte | ||
given-names: Jean-Pierre | ||
- family-names: Xie | ||
given-names: Zhinan | ||
- family-names: Zhang | ||
given-names: Zhendong | ||
|
||
|
||
preferred-citation: | ||
type: article | ||
authors: | ||
- family-names: Komatitsch | ||
given-names: Dimitri | ||
- family-names: Vilotte | ||
given-names: Jean-Pierre | ||
title: "The spectral-element method: an efficient tool to simulate the seismic response of 2D and 3D geological structures" | ||
journal: "Bull. seism. Soc. Am." | ||
volume: 88 | ||
issue: 2 | ||
start: 368 # First page number | ||
end: 392 # Last page number | ||
year: 1998 | ||
doi: "10.1785/BSSA0880020368" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# nummaterial_velocity_file | ||
# format: | ||
#(1)domain_id #(2)material_id #(3)rho #(4)vp #(5)vs #(6)Q_k #(7)Q_mu #(8)ani | ||
# | ||
# where | ||
# domain_id : 1=acoustic / 2=elastic / 3=poroelastic | ||
# material_id : POSITIVE integer identifier of material block | ||
# rho : density | ||
# vp : P-velocity | ||
# vs : S-velocity | ||
# Q_k : 9999 = no Q_kappa attenuation | ||
# Q_mu : 9999 = no Q_mu attenuation | ||
# ani : 0=no anisotropy/ 1,2,.. check with aniso_model.f90 | ||
# | ||
# example: | ||
# 2 1 2300 2800 1500 9999.0 9999.0 0 | ||
# | ||
# or | ||
# | ||
#(1)domain_id #(2)material_id tomography elastic #(3)filename #(4)positive | ||
# | ||
# where | ||
# domain_id : 1=acoustic / 2=elastic / 3=poroelastic | ||
# material_id : NEGATIVE integer identifier of material block | ||
# filename : filename of the tomography file | ||
# positive : a positive unique identifier | ||
# | ||
# example: | ||
# 2 -1 tomography elastic tomo.xyz 1 | ||
# | ||
# materials | ||
2 1 1412.d0 2260.d0 1050.d0 9999.0 9999.0 0 | ||
1 2 1000.d0 1477.d0 0.d0 9999.0 9999.0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
EXAMPLES/Gmsh_example_Stacey_MPI/MESH/nummaterial_velocity_file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# nummaterial_velocity_file | ||
# format: | ||
#(1)domain_id #(2)material_id #(3)rho #(4)vp #(5)vs #(6)Q_k #(7)Q_mu #(8)ani | ||
# | ||
# where | ||
# domain_id : 1=acoustic / 2=elastic / 3=poroelastic | ||
# material_id : POSITIVE integer identifier of material block | ||
# rho : density | ||
# vp : P-velocity | ||
# vs : S-velocity | ||
# Q_k : 9999 = no Q_kappa attenuation | ||
# Q_mu : 9999 = no Q_mu attenuation | ||
# ani : 0=no anisotropy/ 1,2,.. check with aniso_model.f90 | ||
# | ||
# example: | ||
# 2 1 2300 2800 1500 9999.0 9999.0 0 | ||
# | ||
# or | ||
# | ||
#(1)domain_id #(2)material_id tomography elastic #(3)filename #(4)positive | ||
# | ||
# where | ||
# domain_id : 1=acoustic / 2=elastic / 3=poroelastic | ||
# material_id : NEGATIVE integer identifier of material block | ||
# filename : filename of the tomography file | ||
# positive : a positive unique identifier | ||
# | ||
# example: | ||
# 2 -1 tomography elastic tomo.xyz 1 | ||
# | ||
# materials | ||
1 1 2000.d0 1680.d0 0.0d0 10.d0 10.d0 0 | ||
1 2 1000.d0 1477.d0 0.0d0 10.d0 10.d0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
---------------------------------------------------------------------- | ||
README | ||
---------------------------------------------------------------------- | ||
|
||
This example reads in a Vp velocity model given in SEP (Stanford Exploration Project) file format | ||
and interpolates it onto a regular SPECFEM2D mesh to produce seismic traces. | ||
|
||
1. modify interpolate.f90 | ||
mainly to change the location/names of your SEP/SU models | ||
|
||
2. run interpolation: | ||
./interpolate.bash | ||
./run_this_example.sh | ||
|
||
The script will compile the interpolate.f90 file and run the xinterpolate binary. | ||
This binary will call the mesher xmeshfem2D and solver xspecfem2D to first create and output the regular mesh, | ||
then interpolate the velocities onto it and re-run the binaries to run a simulation using the | ||
interpolated velocity model (in "legacy" format). | ||
|
Oops, something went wrong.