mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
periodic tolerances
This commit is contained in:
parent
8350a88daf
commit
9bfed0119f
@ -233,10 +233,10 @@ Identifyable (const SpecialPoint & sp1, const SpecialPoint & sp2,
|
|||||||
double cl = fabs (v*n1);
|
double cl = fabs (v*n1);
|
||||||
|
|
||||||
|
|
||||||
val = 1 - cl*cl/(vl*vl);
|
double val1 = 1 - cl*cl/(vl*vl);
|
||||||
val += (hsp1.v - hsp2.v).Length();
|
double val2 = (hsp1.v - hsp2.v).Length();
|
||||||
|
|
||||||
if (val < 1e-6)
|
if (val1 < 1e-10 && val2 < 1e-6)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user