Skip to content

Commit 997ebab

Browse files
committed
adds more source infos for finite-fault sources
1 parent 79551b3 commit 997ebab

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/specfem3D/locate_source.F90

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ subroutine locate_source()
699699

700700
! user info for many source points
701701
if (.not. SHOW_DETAILS_LOCATE_SOURCE .and. NSOURCES >= 10) then
702-
write(IMAIN,*) 'for all following ',NSOURCES-1,'sources we will suppress the details to avoid getting to long here...'
702+
write(IMAIN,*) 'for all following sources we will suppress the detail infos to avoid getting to long here...'
703703
write(IMAIN,*)
704704
write(IMAIN,*) 'In case you wish to see detailed source informations for all source points, consider turning on the'
705705
write(IMAIN,*) 'parameter SHOW_DETAILS_LOCATE_SOURCE in setup/constants.h'
@@ -759,6 +759,12 @@ subroutine locate_source()
759759
write(IMAIN,*) ' total moment magnitude Mw = ', Mw
760760
endif
761761
write(IMAIN,*)
762+
! statistics
763+
write(IMAIN,*) ' source ranges:'
764+
write(IMAIN,*) ' depth : min/max = ',sngl(minval(depth(:))/1000.d0),'/',sngl(maxval(depth(:))/1000.d0),' km'
765+
write(IMAIN,*) ' half duration: min/max = ',sngl(minval(hdur(:))),'/',sngl(maxval(hdur(:)))
766+
write(IMAIN,*) ' time shift : min/max = ',sngl(minval(tshift_src(:))),'/',sngl(maxval(tshift_src(:)))
767+
write(IMAIN,*)
762768
write(IMAIN,*) '********************'
763769
call flush_IMAIN()
764770
endif

0 commit comments

Comments
 (0)