mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-27 06:10:34 +05:00
Fix BTree::GetIntersecting()
This commit is contained in:
parent
d1705be7a6
commit
a6d07ed7e4
@ -132,10 +132,11 @@ namespace netgen
|
|||||||
|
|
||||||
for (int d = 0; d < dim; d++)
|
for (int d = 0; d < dim; d++)
|
||||||
if (p[d] > tpmax[d])
|
if (p[d] > tpmax[d])
|
||||||
continue;
|
intersect = false;
|
||||||
for (int d = dim; d < 2*dim; d++)
|
for (int d = dim; d < 2*dim; d++)
|
||||||
if (p[d] < tpmin[d])
|
if (p[d] < tpmin[d])
|
||||||
continue;
|
intersect = false;
|
||||||
|
if(intersect)
|
||||||
pis.Append (leaf->index[i]);
|
pis.Append (leaf->index[i]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user