Re-Implemented jozov2 using priority_queues (far less complicated and maybe better performing)

This commit is contained in:
Guilhem Lavaux 2013-04-01 21:30:45 -05:00
parent 9a63f289d7
commit 91a222a3c3
2 changed files with 124 additions and 124 deletions

View file

@ -139,10 +139,10 @@ int main(int argc,char **argv)
if (z[i].np == 1)
continue;
txt << format("%d %d %d %e %e %d %d %e %d %f %6.2e")
txt << format("%d %d %d %e %e %d %d %e %d %f %6.2e %f")
% (h+1) % i % z[i].core % p[z[i].core].dens % z[i].vol
% z[i].np % z[i].nhl % z[i].voljoin % z[i].npjoin
% z[i].denscontrast % prob << endl;
% z[i].denscontrast % prob % z[i].leak << endl;
} /* h+1 to start from 1, not zero */
txt.close();