org.opensha.refFaultParamDb.calc.sectionDists
Class FaultSectDistCalcTest

java.lang.Object
  extended by org.opensha.refFaultParamDb.calc.sectionDists.FaultSectDistCalcTest

public class FaultSectDistCalcTest
extends Object


Constructor Summary
FaultSectDistCalcTest()
           
 
Method Summary
static int[] decodeHash(String hash)
           
static String getHash(int id1, int id2)
           
static double getSurfaceDist(FrankelGriddedSurface surface1, FrankelGriddedSurface surface2, boolean fast)
           
static String getTime(long start, long end)
           
static void main(String[] args)
           
static void printDistCalcTimes(long start, long end)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FaultSectDistCalcTest

public FaultSectDistCalcTest()
Method Detail

getTime

public static String getTime(long start,
                             long end)

printDistCalcTimes

public static void printDistCalcTimes(long start,
                                      long end)

getHash

public static String getHash(int id1,
                             int id2)

decodeHash

public static int[] decodeHash(String hash)

getSurfaceDist

public static double getSurfaceDist(FrankelGriddedSurface surface1,
                                    FrankelGriddedSurface surface2,
                                    boolean fast)

main

public static void main(String[] args)
                 throws IOException
Parameters:
args -
Throws:
IOException