]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
IPAL21957: Max Element Area does not influence on resulting mesh for Triangle Mefisto
authoreap <eap@opencascade.com>
Fri, 24 Jun 2011 11:36:07 +0000 (11:36 +0000)
committereap <eap@opencascade.com>
Fri, 24 Jun 2011 11:36:07 +0000 (11:36 +0000)
+  if ( _hypMaxElementArea )
+    aretmx *= 1.5;

src/StdMeshers/StdMeshers_MEFISTO_2D.cxx

index ffc906a62bdadcaad6be5ac264eebc2a077cc025..f9aa827012987e95b9f596f1b283ef66aa797f19 100644 (file)
@@ -237,6 +237,8 @@ bool StdMeshers_MEFISTO_2D::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aSh
   Z nutysu = 1;           // 1: il existe un fonction areteideale_()
   // Z  nutysu=0;         // 0: on utilise aretmx
   R aretmx = _edgeLength; // longueur max aretes future triangulation
+  if ( _hypMaxElementArea )
+    aretmx *= 1.5;
   
   nblf = nbWires;