SPECFEM / specfem3d

SPECFEM3D_Cartesian simulates acoustic (fluid), elastic (solid), coupled acoustic/elastic, poroelastic or seismic wave propagation in any type of conforming mesh of hexahedra (structured or not).
GNU General Public License v3.0
411 stars 229 forks source link

Feature to read in tomography files with general anisotropic model definitions #1435

Closed aakash10gupta closed 3 years ago

aakash10gupta commented 3 years ago

tomography_model.xyz files can now have two more formats to accommodate the 21 parameters defining general anisotropy -

  1. 25 columns (x y z c11 c12 c13 ... c66 rho)
  2. 27 columns (x y z c11 c12 c13 ... c66 rho Qp Qs)

Header lines remain the same.

To read in any of these file formats the following should be set in the Par_file -

MODEL = tomo
ANISOTROPY = .true.

Some development points to note -

  1. The 21 c values have been interpolated in the same way as Vp, Vs and rho values were being interpolated.
  2. Bounds on the interpolated c values remain to be enforced.
  3. The best choices of equivalent Vp and Vs values are still being thought of, as the code still needs these values for certain checks, etc.
buildbot-princeton commented 3 years ago

The files changed require a buildbot test. Buildbot has started.

buildbot-princeton commented 3 years ago

Your changes passed the buildbot test. See build 904.

codecov-commenter commented 3 years ago

Codecov Report

Merging #1435 (c30b573) into devel (ff796a7) will decrease coverage by 0.19%. The diff coverage is 29.46%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel    #1435      +/-   ##
==========================================
- Coverage   60.22%   60.02%   -0.20%     
==========================================
  Files         199      199              
  Lines       41712    41863     +151     
==========================================
+ Hits        25119    25127       +8     
- Misses      16593    16736     +143     
Impacted Files Coverage Δ
src/generate_databases/model_tomography.f90 56.29% <28.31%> (-21.19%) :arrow_down:
src/generate_databases/get_model.F90 82.50% <75.00%> (ø)
src/generate_databases/model_default.f90 92.18% <100.00%> (ø)
src/specfem3D/convert_time.f90 66.29% <0.00%> (+2.24%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ff796a7...c30b573. Read the comment docs.

danielpeter commented 3 years ago

accept

On 6 May 2021, at 4:55 AM, buildbot-princeton @.**@.>> wrote:

Your changes passed the buildbot test. See build 904https://urldefense.com/v3/__http://specfem3d-buildbot.princeton.edu/builders/specfem3d_builder/builds/904__;!!Nmw4Hv0!ku2Qk3E4YUC7Bu337--9bTkIQvXik_ZtcPsmLSFJ8AZh2iNgF6iNaZozCDtWzL7DNL9RGg$.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/geodynamics/specfem3d/pull/1435*issuecomment-833167289__;Iw!!Nmw4Hv0!ku2Qk3E4YUC7Bu337--9bTkIQvXik_ZtcPsmLSFJ8AZh2iNgF6iNaZozCDtWzL6k7n-DCw$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABMLXWJJXWVREA4FVMUYEPLTMHZJPANCNFSM44GCGFOA__;!!Nmw4Hv0!ku2Qk3E4YUC7Bu337--9bTkIQvXik_ZtcPsmLSFJ8AZh2iNgF6iNaZozCDtWzL5JS20SfQ$.