mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-26 05:50:32 +05:00
thread-safe point-search
This commit is contained in:
parent
27f57d19fa
commit
e2edc088da
@ -4526,7 +4526,7 @@ namespace netgen
|
|||||||
if (dimension == 2)
|
if (dimension == 2)
|
||||||
{
|
{
|
||||||
int ne;
|
int ne;
|
||||||
|
int ps_startelement = 0; // disable global buffering
|
||||||
|
|
||||||
if(ps_startelement != 0 && ps_startelement <= GetNSE() && PointContainedIn2DElement(p,lami,ps_startelement))
|
if(ps_startelement != 0 && ps_startelement <= GetNSE() && PointContainedIn2DElement(p,lami,ps_startelement))
|
||||||
return ps_startelement;
|
return ps_startelement;
|
||||||
|
Loading…
Reference in New Issue
Block a user