Opened 13 years ago

Closed 13 years ago

#267 closed enhancement (fixed)

Move MomentMagCalc to MagUtils

Reported by: Peter Powers Owned by: Peter Powers
Priority: minor Milestone: OpenSHA 1.2
Component: sha Version:
Keywords: Cc:

Description

create new org.opensha.commons.eq.MagUtils? and relocate static mathods in MomentMagCalc?, adding junit tests. MagUtils? will serve as a central location for any earthquake magnitude utilities moving forward.

Change History (1)

comment:1 Changed 13 years ago by Peter Powers

Resolution: fixed
Status: newclosed
Summary: Move MomentMagCalc to MagTulisMove MomentMagCalc to MagUtils
  • relocated getMag() and getMoment() to MagUtils?
  • rennamed above methods to magToMoment() and momentToMag()
  • relocated tests to EqSuite? and added concrete value comparisons

completed in [7811]

Note: See TracTickets for help on using tickets.