Salome HOME
projects
/
plugins
/
netgenplugin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57c8dcb
)
0021073: EDF 1683 NETGENPLUGIN: Local size on edge creates unreguler 1D elements
author
eap
<eap@opencascade.com>
Wed, 17 Nov 2010 08:42:40 +0000
(08:42 +0000)
committer
eap
<eap@opencascade.com>
Wed, 17 Nov 2010 08:42:40 +0000
(08:42 +0000)
inclease more twice nb of points to restrict local size on the edge
src/NETGENPlugin/NETGENPlugin_Mesher.cxx
patch
|
blob
|
history
diff --git
a/src/NETGENPlugin/NETGENPlugin_Mesher.cxx
b/src/NETGENPlugin/NETGENPlugin_Mesher.cxx
index 0363ae94ebd3fe452ec9b0d726289cb26e5e32f1..88463590c14b5292d0a315457b83862b4ca66844 100644
(file)
--- 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 *
1
0;
+ int nb = length/hi *
2
0;
if(nb<2) nb=2;
Standard_Real delta = (u2-u1)/nb;
for(int i=0; i<nb; i++)