This PR adds a number of fault filters that are applied to crustal faults before the rupture builder divides them into subsections.
Introduces the FaultFilter interface for easier filter management.
converts the existing skip/maxSections filter to the new interface
adds three new filters as requested by Chris Rollin:
polygon
domain
minimum slip
Sample output of a rupture builder run:
Fault model has 557 fault sections
Fault model filtered to 557 after applying id range filter, skip: 0 max : 2000
Fault model filtered to 461 after applying slip filter with a minimum of 0.1 mm/yr
Fault model filtered to 424 after applying polygon filter C:\Users\user\GNS\cseplonlat-distseismodelboundary-50koffshore.dat
Fault model filtered to 356 after applying domain filter 2, 3, 4, 8, 9, 10, 11, 16, 24, 25, 26, 27 and 28
Implements #324
This PR adds a number of fault filters that are applied to crustal faults before the rupture builder divides them into subsections.
FaultFilter
interface for easier filter management.Sample output of a rupture builder run:
If a filter is not set, it will not be run.