Skip to content
Snippets Groups Projects
Commit 82fd3a2d authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

ASK14 getV1 refactor

parent d6da017a
No related branches found
No related tags found
1 merge request!400Imt edits
......@@ -50,11 +50,11 @@ import gov.usgs.earthquake.nshmp.tree.LogicTree;
* <p><b>Component:</b> RotD50 (average horizontal)
*
* @author U.S. Geological Survey
* @see Gmm#ASK_14_BASE
* @see Gmm#ASK_14
* @see Gmm#ASK_14_BASIN
* @see Gmm#ASK_14_CYBERSHAKE
* @see Gmm#ASK_14_CYBERSHAKE_ON
*
* @see Gmm#ASK_14_VS30_MEASURED
*/
public class AbrahamsonEtAl_2014 implements GroundMotionModel {
......@@ -341,17 +341,16 @@ public class AbrahamsonEtAl_2014 implements GroundMotionModel {
// -- Equation 9
private static final double getV1(Imt imt) {
Double T = imt.period();
if (T == null) {
return 1500.0;
}
if (T >= 3.0) {
return 800.0;
}
if (T > 0.5) {
return exp(-0.35 * log(T / 0.5) + log(1500.0));
if (imt.isSA()) {
double T = imt.period();
if (T >= 3.0) {
return 800.0;
}
if (T > 0.5) {
return exp(-0.35 * log(T / 0.5) + log(1500.0));
}
}
return 1500.0;
return 1500.0; // PGA, PGV and low period SA
}
// used for interpolation in calcSoilTerm(), below
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment