Add more mask

This commit is contained in:
Guilhem Lavaux 2012-01-15 15:15:30 -05:00
parent 5919f38a87
commit 9274da1587
5 changed files with 79 additions and 4 deletions

View file

@ -94,9 +94,9 @@ int main(int argc, char *argv[]) {
fread(&volstemp,1,sizeof(float),part);
if (vols[orig[p]] > -1.)
if (fabs(vols[orig[p]]-volstemp)/volstemp > 1.5e-3) {
printf("Inconsistent volumes for p. %d: (%10g,%10g)!\n",
orig[p],vols[orig[p]],volstemp);
exit(0);
// printf("Inconsistent volumes for p. %d: (%10g,%10g)!\n",
// orig[p],vols[orig[p]],volstemp);
// exit(0);
}
vols[orig[p]] = volstemp;
}