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

kuehn cleaning

parent d01e0d91
No related branches found
No related tags found
1 merge request!282Gmm updates
......@@ -245,6 +245,7 @@ public abstract class KuehnEtAl_2020 implements GroundMotionModel {
abstract boolean basin();
/* Only true for interface */
abstract boolean seattle();
@Override
......@@ -376,8 +377,6 @@ public abstract class KuehnEtAl_2020 implements GroundMotionModel {
double z2p5,
boolean seattle) {
// TODO add Seattle flag
if (Double.isNaN(z2p5)) {
return 0.0;
}
......@@ -394,28 +393,6 @@ public abstract class KuehnEtAl_2020 implements GroundMotionModel {
}
return fb;
// switch (region) {
// case Region.CASCADIA:
// // Eq. 4.14
// switch (basin) {
// case Basin.SEATTLE:
// return c.θ11S; // Seattle-specific
// case Basin.OTHER:
// // TODO:
// // The paper returns this:
// // System.out.printf(" OTHER basin: taking minimum of %.9f and
// // %.9f\n",c.θ11 + c.θ12 * δlnZ, c.θ11S);
// // return min(c.θ11 + c.θ12 * δlnZ, c.θ11S);
// // The official python code just returns this:
// return c.θ11 + c.θ12 * δlnZ;
// default:
// return 0.0;
// }
// default:
// // Eq. 4.10
// return c.θ11 + c.θ12 * δlnZ;
// }
}
/* Eq. 4.11 - basin reference depth for vs30; Cascadia model */
......
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