org.opensha.sha.calc.hazardMap
Class ThreadedHazardCurveSetCalculator

java.lang.Object
  extended by org.opensha.sha.calc.hazardMap.ThreadedHazardCurveSetCalculator

public class ThreadedHazardCurveSetCalculator
extends Object


Constructor Summary
ThreadedHazardCurveSetCalculator(HazardCurveSetCalculator[] calcs)
           
 
Method Summary
 void calculateCurves(List<Site> sites)
           
 void calculateCurves(List<Site> sites, int[] indices)
           
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThreadedHazardCurveSetCalculator

public ThreadedHazardCurveSetCalculator(HazardCurveSetCalculator[] calcs)
Method Detail

calculateCurves

public void calculateCurves(List<Site> sites)
                     throws IOException,
                            InterruptedException
Throws:
IOException
InterruptedException

calculateCurves

public void calculateCurves(List<Site> sites,
                            int[] indices)
                     throws IOException,
                            InterruptedException
Throws:
IOException
InterruptedException

close

public void close()