org.opensha.nshmp.sha.data.calc
Class ResidentialSiteCalc

java.lang.Object
  extended by org.opensha.nshmp.sha.data.calc.ResidentialSiteCalc

public class ResidentialSiteCalc
extends Object

Title: ResidentialSiteCalc

Description: Calculates the Residential Site Value and Residential Seismic Design category.

Version:
1.0
Author:
Ned Field, Nitin Gupta and E.V.Leyendecker

Constructor Summary
ResidentialSiteCalc()
           
 
Method Summary
 double calcResidentialSiteValue(double ss, double fa)
          Calculates the residential site value
 String getResidentialSeismicDesignCategory(double rsv, String selectedEdition)
          Calculates the Residential Seismic Design Category.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResidentialSiteCalc

public ResidentialSiteCalc()
Method Detail

calcResidentialSiteValue

public double calcResidentialSiteValue(double ss,
                                       double fa)
Calculates the residential site value

Parameters:
ss - double Sa at 0.1 sec val
fa - double
Returns:
double

getResidentialSeismicDesignCategory

public String getResidentialSeismicDesignCategory(double rsv,
                                                  String selectedEdition)
Calculates the Residential Seismic Design Category.

Parameters:
rsv - double Residential Site Value[(2.0/3.0 * Ss(SA at 0.1 sec) * fa]
selectedEdition - String
Returns:
String