Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kmilner committed May 20, 2024
1 parent 8af3283 commit 3d3655f
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,16 @@ public static void main(String[] args) throws IOException {
dirName += "-prvi25_crustal_branches";
double avgNumRups = 50000;

// random DM sampling
levels = new ArrayList<>(levels);
int origNumLevels = levels.size();
for (int i=levels.size(); --i>=0;)
if (levels.get(i).getNodes().get(0) instanceof PRVI25_CrustalDeformationModels)
levels.remove(i);
Preconditions.checkState(levels.size() == origNumLevels -1);
individualRandomLevels.add(new PRVI25_CrustalRandomlySampledDeformationModelLevel());
samplingBranchCountMultiplier = 5; // 5 for each branch

// List<LogicTreeLevel<? extends LogicTreeNode>> levels = PRVI25_LogicTreeBranch.levelsSubduction;
// dirName += "-prvi25_subduction_branches";
// double avgNumRups = 10000;
Expand Down

0 comments on commit 3d3655f

Please sign in to comment.