mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
Increase bounding box for curved elements by 20% in element search tree
This commit is contained in:
parent
98770dbf94
commit
69bc02a74d
@ -4851,6 +4851,11 @@ namespace netgen
|
||||
for (auto pi : volelements[ei].PNums())
|
||||
box.Add (points[pi]);
|
||||
|
||||
auto & el = volelements[ei];
|
||||
if(el.IsCurved())
|
||||
box.Increase(1.2*box.Diam());
|
||||
|
||||
|
||||
elementsearchtree -> Insert (box, ei+1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user