From 3f1a3aed2572edb3597d5318b549f9e3ad637c10 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 17 Nov 2010 08:42:40 +0000 Subject: [PATCH] 0021073: EDF 1683 NETGENPLUGIN: Local size on edge creates unreguler 1D elements inclease more twice nb of points to restrict local size on the edge --- src/NETGENPlugin/NETGENPlugin_Mesher.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx index 0363ae9..8846359 100644 --- a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx +++ b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx @@ -1505,7 +1505,7 @@ bool NETGENPlugin_Mesher::Compute() Handle(Geom_Curve) curve = BRep_Tool::Curve(e, u1, u2); GeomAdaptor_Curve AdaptCurve(curve); double length = GCPnts_AbscissaPoint::Length(AdaptCurve, u1, u2); - int nb = length/hi * 10; + int nb = length/hi * 20; if(nb<2) nb=2; Standard_Real delta = (u2-u1)/nb; for(int i=0; i