GNS-Science / nzshm-opensha

renamed successor to old nshm-nz-opensha , all python history removed to new nzshm-runzi repo
MIT License
0 stars 2 forks source link

Fix subduction rupture length calculation #315

Closed voj closed 4 months ago

voj commented 5 months ago

Part of #300

In the MixedRuptureSetBuilder', rupture length is calculated based on all fault sections. For subduction ruptures, we do not want to use all sections as we get more sections with greater depth.

Here is the algorithm we used in NZSHM22_SubductionRuptureSetBuilder: https://github.com/GNS-Science/nzshm-opensha/blob/main/src/main/java/nz/cri/gns/NZSHM22/opensha/ruptures/NZSHM22_SubductionRuptureSetBuilder.java#L196