mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 15:21:11 +00:00
some small bug fixes, also prepared prunveVoids to potentially remove voids based on density contrast criteria
This commit is contained in:
parent
971cf21ea2
commit
0ef211a1cc
4 changed files with 23 additions and 7 deletions
|
@ -447,6 +447,13 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
|
||||
for (iVoid = 0; iVoid < numVoids; iVoid++) {
|
||||
// TEST
|
||||
//if (voids[iVoid].densCon > 1.5) {
|
||||
// voids[iVoid].accepted = 0;
|
||||
//}
|
||||
// END TEST
|
||||
|
||||
|
||||
if (strcmp(args_info.dataPortion_arg, "edge") == 0 &&
|
||||
tolerance*voids[iVoid].maxRadius < voids[iVoid].nearestMock) {
|
||||
voids[iVoid].accepted = 0;
|
||||
|
@ -582,6 +589,6 @@ int main(int argc, char **argv) {
|
|||
clock1 = clock();
|
||||
|
||||
|
||||
printf("Done!\n");
|
||||
printf("Done!");
|
||||
return 0;
|
||||
} // end main
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue