]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Avoid meshing submeshes with global algos under submeshes that are to
authoreap <eap@opencascade.com>
Thu, 20 Nov 2008 08:47:21 +0000 (08:47 +0000)
committereap <eap@opencascade.com>
Thu, 20 Nov 2008 08:47:21 +0000 (08:47 +0000)
be meshed with all-dim algos like NETGEN 1D-2D

src/SMESH/SMESH_Gen.cxx

index e8d57f86c14672303afd0e64f873f44687137226..52c2f9b09c12b841094977ccb1f52c1389aeb060 100644 (file)
@@ -241,10 +241,10 @@ bool SMESH_Gen::Compute(SMESH_Mesh &         aMesh,
       if ( sm->GetComputeState() == SMESH_subMesh::READY_TO_COMPUTE)
         sm->ComputeStateEngine( SMESH_subMesh::COMPUTE );
 
-    // -----------------------------------------------
-    // mesh the rest subshapes starting from vertices
-    // -----------------------------------------------
-    ret = Compute( aMesh, aShape, /*anUpward=*/true );
+    // ------------------------
+    // mesh the rest subshapes
+    // ------------------------
+    ret = Compute( aMesh, aShape );
   }
 
   MESSAGE( "VSR - SMESH_Gen::Compute() finished, OK = " << ret);