mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 13:30:34 +05:00
refine at vertices
This commit is contained in:
parent
6dfc78ca42
commit
49a6172548
@ -332,6 +332,9 @@ namespace netgen
|
||||
|
||||
if (!exists)
|
||||
mesh.AddPoint (mp);
|
||||
|
||||
double maxh = OCCGeometry::global_shape_properties[TopoDS::Vertex(geom.vmap(i)).TShape()].maxh;
|
||||
mesh.RestrictLocalH (occ2ng(pnt), maxh);
|
||||
}
|
||||
tsearch.Stop();
|
||||
|
||||
|
@ -872,7 +872,7 @@ DLL_HEADER void ExportNgOCCShapes(py::module &m)
|
||||
},
|
||||
[](TopoDS_Shape& self, double val)
|
||||
{
|
||||
for (auto typ : { TopAbs_SOLID, TopAbs_FACE, TopAbs_EDGE })
|
||||
for (auto typ : { TopAbs_SOLID, TopAbs_FACE, TopAbs_EDGE, TopAbs_VERTEX })
|
||||
for (TopExp_Explorer e(self, typ); e.More(); e.Next())
|
||||
{
|
||||
auto & maxh = OCCGeometry::global_shape_properties[e.Current().TShape()].maxh;
|
||||
|
Loading…
Reference in New Issue
Block a user