SPECFEM / specfem2d

SPECFEM2D simulates forward and adjoint seismic wave propagation in two-dimensional acoustic, (an)elastic, poroelastic or coupled acoustic-(an)elastic-poroelastic media, with Convolution PML absorbing conditions.
https://specfem.org
GNU General Public License v3.0
203 stars 147 forks source link

added computation of noise strength kernel #1177

Closed evcano closed 1 year ago

evcano commented 1 year ago

Hi @danielpeter,

I added some subroutines to compute and save the noise strength kernel as done in the SPECFEM3D_CARTESIAN and GLOBAL versions.

Feel free to modify at your convenience, Best wishes.

buildbot-princeton commented 1 year ago

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

buildbot-princeton commented 1 year ago

Your changes passed the buildbot test. See build 793.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 6.66% and project coverage change: -0.08 :warning:

Comparison is base (4511264) 54.41% compared to head (0c9431c) 54.34%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## devel #1177 +/- ## ========================================== - Coverage 54.41% 54.34% -0.08% ========================================== Files 162 162 Lines 29526 29571 +45 ========================================== + Hits 16066 16069 +3 - Misses 13460 13502 +42 ``` | [Impacted Files](https://codecov.io/gh/SPECFEM/specfem2d/pull/1177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SPECFEM) | Coverage Δ | | |---|---|---| | [src/specfem2D/noise\_tomography.f90](https://codecov.io/gh/SPECFEM/specfem2d/pull/1177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SPECFEM#diff-c3JjL3NwZWNmZW0yRC9ub2lzZV90b21vZ3JhcGh5LmY5MA==) | `32.59% <0.00%> (-4.33%)` | :arrow_down: | | [src/specfem2D/prepare\_wavefields.f90](https://codecov.io/gh/SPECFEM/specfem2d/pull/1177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SPECFEM#diff-c3JjL3NwZWNmZW0yRC9wcmVwYXJlX3dhdmVmaWVsZHMuZjkw) | `83.93% <25.00%> (-1.25%)` | :arrow_down: | | [src/specfem2D/compute\_kernels.f90](https://codecov.io/gh/SPECFEM/specfem2d/pull/1177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SPECFEM#diff-c3JjL3NwZWNmZW0yRC9jb21wdXRlX2tlcm5lbHMuZjkw) | `23.37% <50.00%> (+0.20%)` | :arrow_up: | | [src/specfem2D/save\_adjoint\_kernels.f90](https://codecov.io/gh/SPECFEM/specfem2d/pull/1177?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SPECFEM#diff-c3JjL3NwZWNmZW0yRC9zYXZlX2Fkam9pbnRfa2VybmVscy5mOTA=) | `22.48% <50.00%> (+0.13%)` | :arrow_up: | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SPECFEM). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=SPECFEM)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

danielpeter commented 1 year ago

great, looks good. that was quick!

danielpeter commented 1 year ago

accept

On 10 Mar 2023, at 1:45 PM, buildbot-princeton @.**@.>> wrote:

Your changes passed the buildbot test. See build 793https://urldefense.com/v3/__http://specfem2d-buildbot.princeton.edu/builders/specfem2d_builder/builds/793__;!!Nmw4Hv0!0wjuws8maVskfizELx2GX3gTYPAh2BT0U6vlLzFgOHJc_U5-lc58wYyjrT8XuOgK7zJZgfJSbn7JgbAaEwJ9s6hBMhsT6PY$.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/SPECFEM/specfem2d/pull/1177*issuecomment-1463615890__;Iw!!Nmw4Hv0!0wjuws8maVskfizELx2GX3gTYPAh2BT0U6vlLzFgOHJc_U5-lc58wYyjrT8XuOgK7zJZgfJSbn7JgbAaEwJ9s6hBpYQuRgA$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ABMLXWOFFUW4ZKKYQ2OOT6DW3MA3HANCNFSM6AAAAAAVWJCATY__;!!Nmw4Hv0!0wjuws8maVskfizELx2GX3gTYPAh2BT0U6vlLzFgOHJc_U5-lc58wYyjrT8XuOgK7zJZgfJSbn7JgbAaEwJ9s6hBL-fnkNo$. You are receiving this because you were mentioned.Message ID: @.***>