Merge branch 'meshing2_getlocals' into 'master'

Meshing2 getlocals

See merge request jschoeberl/netgen!281
This commit is contained in:
Joachim Schöberl 2019-10-21 15:34:09 +00:00
commit d1e9b89988

View File

@ -281,7 +281,7 @@ namespace netgen
NgArray<INDEX> & lindex, NgArray<INDEX> & lindex,
double xh) double xh)
{ {
// static Timer timer("adfront2::GetLocals"); RegionTimer reg (timer); static Timer timer("adfront2::GetLocals"); RegionTimer reg (timer);
int pstind; int pstind;
Point<3> midp, p0; Point<3> midp, p0;
@ -300,7 +300,8 @@ namespace netgen
p0 + Vec3d(xh, xh, xh), p0 + Vec3d(xh, xh, xh),
nearlines); nearlines);
pointsearchtree.GetIntersecting (p0 - Vec3d(xh, xh, xh), // only cone points, other points are from linesearchtree
cpointsearchtree.GetIntersecting (p0 - Vec3d(xh, xh, xh),
p0 + Vec3d(xh, xh, xh), p0 + Vec3d(xh, xh, xh),
nearpoints); nearpoints);