Skip to content

Commit

Permalink
Multilevel clusters output fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
luav committed Sep 28, 2017
1 parent b44d081 commit 0753bd6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/info/exascale/SimWeighted/main.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,16 @@ public static void Statix(String outputPath, float scale, boolean multiLev, char
//? 0x45 // SIMPLE | ALLCLS
: 0x41); // SIMPLE | ROOT
outpopts.setClsfmt(outpflag);
// Set SignifclsOptions
SignifclsOptions sgnopts = new SignifclsOptions();
sgnopts.setDensdrop(0.9f);
sgnopts.setWrstep(0.95f);
sgnopts.setSzmin(2);

// Set SignifclsOptions if required
if(multiLev) {
SignifclsExtoptions sgnopts = new SignifclsExtoptions();
sgnopts.setDensdrop(0.9f);
sgnopts.setWrstep(0.95f);
sgnopts.setSzmin(0); // 2
outpopts.setSignifcls(sgnopts);
}

// Note: clsrstep, levmarg, margmin actual only for the CUSTLEVS, but strored in the same space as parameters for the multilev output in the latest versions of the DAOC
//outpopts.setClsrstep(0.618f); // 0.368f (e^-1); 0.618f (golden ratio)
//outpopts.setLevmarg(daoc.toLevMargKind((short)0xff)); // LEVSTEPNUM, level steps relative to clrstep
Expand Down

0 comments on commit 0753bd6

Please sign in to comment.