Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- added Brune and Smoothed Brune source time functions #1650

Merged
merged 1 commit into from
Nov 17, 2023

Conversation

homnath
Copy link

@homnath homnath commented Nov 17, 2023

I have implemented time derivatives of the Brune and smoothed Brune functions as the moment rate functions.
@jpampuero can you please check whether the implementation is correct?
@danielpeter m4/ and some DATA/ files are automatically changed, but I ignored them while pushing. Please check.

I think we need some tests for origin time. Some users are ready to test. If you have any suggestions, please let me know:)

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Attention: 32 lines in your changes are missing coverage. Please review.

Comparison is base (fb8310f) 51.51% compared to head (ebd0820) 51.48%.

Files Patch % Lines
src/specfem3D/comp_source_time_function.f90 0.00% 16 Missing ⚠️
src/specfem3D/locate_source.F90 0.00% 6 Missing ⚠️
src/specfem3D/compute_add_sources_viscoelastic.F90 0.00% 4 Missing ⚠️
src/specfem3D/get_force.f90 0.00% 4 Missing ⚠️
src/specfem3D/setup_sources_receivers.f90 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            devel    #1650      +/-   ##
==========================================
- Coverage   51.51%   51.48%   -0.03%     
==========================================
  Files         266      266              
  Lines       60104    60136      +32     
==========================================
  Hits        30961    30961              
- Misses      29143    29175      +32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jpampuero
Copy link
Contributor

Your Brune function now looks correct.

@homnath
Copy link
Author

homnath commented Nov 17, 2023

Your Brune function now looks correct.

Thanks!

! This needs to be CHECKED!!!
t0 = min(t0,1.5d0 * (tshift_src(isource) - hdur(isource)))
case (6)
! Smotthed Brune
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just in case, "smoothed" not "smotthed"

@danielpeter danielpeter merged commit 3a041e2 into SPECFEM:devel Nov 17, 2023
35 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants