diff --git a/libsrc/meshing/meshclass.cpp b/libsrc/meshing/meshclass.cpp index 3aff354b..efa24e4a 100644 --- a/libsrc/meshing/meshclass.cpp +++ b/libsrc/meshing/meshclass.cpp @@ -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); } }