]> 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:46:09 +0000 (08:46 +0000)
committereap <eap@opencascade.com>
Thu, 20 Nov 2008 08:46:09 +0000 (08:46 +0000)
be meshed with all-dim algos like NETGEN 1D-2D

src/SMESH/SMESH_Gen.cxx

index e8d57f86c14672303afd0e64f873f44687137226..a745417e7cd6acfbd16750816dfdeb8cc70d1046 100644 (file)
@@ -229,8 +229,8 @@ bool SMESH_Gen::Compute(SMESH_Mesh &         aMesh,
         if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) {
           SMESH_Hypothesis::Hypothesis_Status status;
           if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status ))
-            // mesh a lower smToCompute starting from vertices
-            Compute( aMesh, aSubShape, /*anUpward=*/true );
+            // mesh a lower smToCompute
+            Compute( aMesh, aSubShape );
         }
       }
     }