Changeset 512


Ignore:
Timestamp:
01/18/2012 05:05:43 PM (11 years ago)
Author:
marcus
Message:

r282 | klaus | 2012-01-13 22:55:05 +0100 (Fr, 13. Jan 2012) | 1 Zeile

new magnitude routine for mb and Ms; more digits on richter_ml

Location:
SH_SHM/trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • SH_SHM/trunk/inputs/chantrans.txt

    r509 r512  
    6161gor4-++   hh 
    6262gor5-++   hh 
     63gor6-++   hh 
    6364gra1-++   hh 
    6465gra2-++   hh 
  • SH_SHM/trunk/util/Makefile

    r472 r512  
    8080                auto_statlist \ 
    8181                richter_ml \ 
     82                magnitude \ 
    8283                logseries 
    8384 
     
    255256                $(LINK.c) -o $@ $@.o -lm 
    256257 
     258magnitude:      magnitude.o 
     259                $(LINK.c) -o $@ $@.o -lm 
     260 
    257261logseries:      logseries.o 
    258262                $(LINK.c) -o $@ $@.o -lm 
  • SH_SHM/trunk/util/richter_ml.c

    r76 r512  
    5454        ml = magn_ml( ampl, dist, &ok ); 
    5555        if  (ok)  { 
    56                 printf( "%3.1f\n", ml ); 
     56                printf( "%4.2f\n", ml ); 
    5757        } /*endif*/ 
    5858 
Note: See TracChangeset for help on using the changeset viewer.