org.opensha.sra.vulnerability.models.curee.caltech
Class CCTownhouseTypical

java.lang.Object
  extended by org.opensha.sra.vulnerability.AbstractVulnerability
      extended by org.opensha.sra.vulnerability.models.curee.caltech.CureeCaltechWoodFrame
          extended by org.opensha.sra.vulnerability.models.curee.caltech.CCTownhouseTypical
All Implemented Interfaces:
Serializable, Vulnerability

public class CCTownhouseTypical
extends CureeCaltechWoodFrame

Title: CCTownhouseTypical
Description A digital representation of the CUREE-Caltech Woodframe Project townhouse typical quality Sagm(0.2s,5%) vulnerability function. (CWF-302-0205)

Author:
Eric Martinez, Keith Porter
See Also:
CureeCaltechWoodFrame, Serialized Form

Field Summary
 
Fields inherited from class org.opensha.sra.vulnerability.models.curee.caltech.CureeCaltechWoodFrame
DEM_DFs
 
Fields inherited from class org.opensha.sra.vulnerability.AbstractVulnerability
ADF, BDF, im_type, name, PGA, SA, shortName
 
Constructor Summary
CCTownhouseTypical()
           
 
Method Summary
protected  double[] getCOVDFArray()
           
 double[][] getDEMMatrix()
          Gets or creates the Damage Exceedance Matrix associated with the current vulnerability model.
protected  double[] getDFArray()
           
 
Methods inherited from class org.opensha.sra.vulnerability.models.curee.caltech.CureeCaltechWoodFrame
getDEMDFVals, getDF, getDFTable, setInitVars
 
Methods inherited from class org.opensha.sra.vulnerability.AbstractVulnerability
getADF, getAssetType, getBDF, getDFVals, getExceedProb, getHazardTemplate, getIMLValues, getIMT, getLossStdDev, getLossType, getMaxIMLVal, getMeanDamageAtExceedProb, getMeanDamageFactor, getMinIMLVal, getName, getParameters, getPeriod, getShortName, getVulnerabilityFunc, setParameter, setPeriod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCTownhouseTypical

public CCTownhouseTypical()
Method Detail

getDFArray

protected double[] getDFArray()
Specified by:
getDFArray in class CureeCaltechWoodFrame

getCOVDFArray

protected double[] getCOVDFArray()
Specified by:
getCOVDFArray in class CureeCaltechWoodFrame

getDEMMatrix

public double[][] getDEMMatrix()
Description copied from class: AbstractVulnerability
Gets or creates the Damage Exceedance Matrix associated with the current vulnerability model. This can either be precomputed and stored in memory (faster runtime, larger memory requirements), or it can be computed on the fly with an (assumed/given) distribution by using the MDF and COVDF.

Specified by:
getDEMMatrix in class AbstractVulnerability
Returns:
The Damage Exceedance Matrix