Salome HOME
IPAL21957: Max Element Area does not influence on resulting mesh for Triangle Mefisto
authoreap <eap@opencascade.com>
Fri, 24 Jun 2011 11:38:34 +0000 (11:38 +0000)
committereap <eap@opencascade.com>
Fri, 24 Jun 2011 11:38:34 +0000 (11:38 +0000)
     Remove "protection contre une arete max desiree trop grande ou trop petite"

src/MEFISTO2/aptrte.cxx

index 4fe87ed698c7afeccd5b788a15dcf3db7cfac069..addd4e096fd007c55fa2ff813bd4d6b7a010a3d2 100755 (executable)
@@ -345,14 +345,14 @@ void  aptrte( Z   nutysu, R      aretmx,
   // devenu un commentaire aretmx = Min( aretmx, aremax ); //pour homogeneiser
 
   // protection contre une arete max desiree trop grande ou trop petite
-  if( aretmx > aremax*2.05 ) aretmx = aremax;
+//   if( aretmx > aremax*2.05 ) aretmx = aremax;
 
-  // protection contre une arete max desiree trop petite
-  if( (aremax-aremin) > (aremin+aremax)*0.05 && aretmx < aremin*0.5 )
-    aretmx =(aremin+aremax*2)/3.0;
+//   // protection contre une arete max desiree trop petite
+//   if( (aremax-aremin) > (aremin+aremax)*0.05 && aretmx < aremin*0.5 )
+//     aretmx =(aremin+aremax*2)/3.0;
 
-  if( aretmx < aremin  && aremin > 0 )
-    aretmx = aremin;
+//   if( aretmx < aremin  && aremin > 0 )
+//     aretmx = aremin;
 
   //sauvegarde pour la fonction areteideale_
   aretemaxface_ = aretmx;