mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-04 23:31:12 +00:00
Added double-checking of flagged galaxies to ensure survey boundaries are respected. Python components of launchers now add their status to log files. Rearranged some warnings for broken tessellations due to guard point encounters, since it's not always a bad thing.
This commit is contained in:
parent
5d93a8a737
commit
ad2d3722cc
5 changed files with 122 additions and 36 deletions
|
@ -86,13 +86,19 @@ int main(int argc,char **argv)
|
|||
}
|
||||
|
||||
/* Check that we got all the pairs */
|
||||
bool printedError = false;
|
||||
for (int i = 0; i < np; i++)
|
||||
{
|
||||
if (p[i].ncnt != p[i].nadj) {
|
||||
cout
|
||||
<< format("We didn't get all of %d's adj's; %d != %d.")
|
||||
% i % p[i].ncnt % p[i].nadj
|
||||
<< endl;
|
||||
|
||||
if (!printedError) {
|
||||
cout << "WARNING! Not all particle adjancies are adding up. This is likely because some particles connected to guard particles. Ensure that your tesselation is valid." << endl;
|
||||
printedError = true;
|
||||
}
|
||||
//cout
|
||||
// << format("We didn't get all of %d's adj's; %d != %d.")
|
||||
// % i % p[i].ncnt % p[i].nadj
|
||||
// << endl;
|
||||
p[i].nadj = p[i].ncnt;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue