org.opensha.sra.vulnerability.models.curee.caltech
Class CureeCaltechWoodFrame
java.lang.Object
org.opensha.sra.vulnerability.AbstractVulnerability
org.opensha.sra.vulnerability.models.curee.caltech.CureeCaltechWoodFrame
- All Implemented Interfaces:
- Serializable, Vulnerability
- Direct Known Subclasses:
- CCLargeHouseImmediateOccupancy, CCLargeHouseRigidDiaphram, CCLargeHouseTypical, CCLargeHouseWaistWall, CCSmallHouseRetro, CCSmallHouseTypical, CCTownhouseLimitedDrift, CCTownhouseTypical
public abstract class CureeCaltechWoodFrame
- extends AbstractVulnerability
Title: CureeCaltechWoodFrame
Description: A template used to describe how the CUREE-Caltech Wood Frame
Project Vulnerability Functions will be implemented. The basic idea is of these vulnerability
functions is that V(IML) = DF. CUREE-Caltech models implemented herein all have a predefined
descritized set of values for IML and corresponding DF and COVDF.
- Author:
- Eric Martinez, Keith Porter
- See Also:
scratch.martinez.VulnerabilityModels.VulnerabilityModel,
Serialized Form
|
Field Summary |
protected static double[] |
DEM_DFs
|
|
Method Summary |
protected abstract double[] |
getCOVDFArray()
|
double[] |
getDEMDFVals()
Gets or computes the DF values that correspond the the Damage Exceedance
Matrix. |
double |
getDF(double IML)
Interpolates the MDF values found in the DFTable for the given IML. |
protected abstract double[] |
getDFArray()
|
ArrayList<double[]> |
getDFTable()
The DF Lookup Table has dimension NIML x 3 and holds the IML, MDF, and COV
values associated with the current Vulnerability Model. |
protected void |
setInitVars()
|
| Methods inherited from class org.opensha.sra.vulnerability.AbstractVulnerability |
getADF, getAssetType, getBDF, getDEMMatrix, 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 |
DEM_DFs
protected static double[] DEM_DFs
CureeCaltechWoodFrame
protected CureeCaltechWoodFrame(String name,
String shortName)
setInitVars
protected void setInitVars()
getDFTable
public ArrayList<double[]> getDFTable()
- Description copied from class:
AbstractVulnerability
- The DF Lookup Table has dimension NIML x 3 and holds the IML, MDF, and COV
values associated with the current Vulnerability Model. The structure of
this table is as follows:
\________________________________________________
IML | IML1 IML2 IML3 .... IML(NIML)
MDF | MDF1 MDF2 MDF3 .... MDF(NIML)
COV | COV1 COV2 COV3 .... COV(NIML
- Specified by:
getDFTable in class AbstractVulnerability
- Returns:
- The DF lookup table used with the current Vulnerability Model.
getDF
public double getDF(double IML)
- Description copied from class:
AbstractVulnerability
- Interpolates the MDF values found in the DFTable for the given IML.
- Specified by:
getDF in class AbstractVulnerability
- Parameters:
IML - The desired Intensity Measure Level.
- Returns:
- The mean Damage Factor for the given IML.
getDEMDFVals
public double[] getDEMDFVals()
- Description copied from class:
AbstractVulnerability
- Gets or computes the DF values that correspond the the Damage Exceedance
Matrix. This may or may not be the same as the regular MDF values depending
on implementation.
- Specified by:
getDEMDFVals in class AbstractVulnerability
- Returns:
- The Damage Factor values associated with the DEM.
getDFArray
protected abstract double[] getDFArray()
getCOVDFArray
protected abstract double[] getCOVDFArray()