org.opensha.refFaultParamDb.calc.sectionDists
Class FaultSectDistCalcTest

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

public class FaultSectDistCalcTest
extends java.lang.Object


Constructor Summary
FaultSectDistCalcTest()
           
 
Method Summary
static int[] decodeHash(java.lang.String hash)
           
static java.lang.String getHash(int id1, int id2)
           
static double getSurfaceDist(FrankelGriddedSurface surface1, FrankelGriddedSurface surface2, boolean fast)
           
static java.lang.String getTime(long start, long end)
           
static void main(java.lang.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 java.lang.String getTime(long start,
                                       long end)

printDistCalcTimes

public static void printDistCalcTimes(long start,
                                      long end)

getHash

public static java.lang.String getHash(int id1,
                                       int id2)

decodeHash

public static int[] decodeHash(java.lang.String hash)

getSurfaceDist

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

main

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