From: eap Date: Fri, 24 Jun 2011 11:38:34 +0000 (+0000) Subject: IPAL21957: Max Element Area does not influence on resulting mesh for Triangle Mefisto X-Git-Tag: V6_3_1rc1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=83036df4b6f5bd74338d49ed5b8b3831467ae615 IPAL21957: Max Element Area does not influence on resulting mesh for Triangle Mefisto Remove "protection contre une arete max desiree trop grande ou trop petite" --- diff --git a/src/MEFISTO2/aptrte.cxx b/src/MEFISTO2/aptrte.cxx index 4fe87ed69..addd4e096 100755 --- a/src/MEFISTO2/aptrte.cxx +++ b/src/MEFISTO2/aptrte.cxx @@ -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;