Skip to content

Commit

Permalink
added a few diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Milner committed May 21, 2024
1 parent 7eb4813 commit c526851
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
import org.opensha.sha.earthquake.EqkRupture;
import org.opensha.sha.earthquake.calc.ERF_Calculator;
import org.opensha.sha.earthquake.faultSysSolution.FaultSystemSolution;
import org.opensha.sha.earthquake.faultSysSolution.modules.RupMFDsModule;
import org.opensha.sha.earthquake.observedEarthquake.ObsEqkRupList;
import org.opensha.sha.earthquake.observedEarthquake.ObsEqkRupture;
import org.opensha.sha.earthquake.observedEarthquake.Declustering.GardnerKnopoffDeclustering;
Expand Down Expand Up @@ -371,6 +372,12 @@ public static ArrayList<ObsEqkRupList> loadCatalogs(File fssFile, File catalogsF

FaultSystemSolutionERF_ETAS erf = ETAS_Launcher.buildERF(sol,false, 1d, 2012);
erf.updateForecast();

System.out.println("Sol has RupMFDs? "+sol.hasModule(RupMFDsModule.class));
System.out.println("ERF totNumRups: "+erf.getTotNumRups());
System.out.println("ERF getTotNumRupsFromFaultSystem: "+erf.getTotNumRupsFromFaultSystem());
System.out.println("ERF getNumFaultSystemSources: "+erf.getNumFaultSystemSources());
System.out.println("ERF getNumSources: "+erf.getNumSources());

// set the finite rupture surfaces
String errorMessage = null;
Expand Down

0 comments on commit c526851

Please sign in to comment.