]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021988: EDF 2484 SMESH : NETGEN and GDHS3D/BLSURF mixed meshes
authoreap <eap@opencascade.com>
Wed, 21 Nov 2012 11:07:33 +0000 (11:07 +0000)
committereap <eap@opencascade.com>
Wed, 21 Nov 2012 11:07:33 +0000 (11:07 +0000)
  In checkMissing(), avoid reporting "global 1D algorithm is missing"
  with a local GHS3D and a global NETGEN 1D-2D.

src/SMESH/SMESH_Gen.cxx

index 99a84ef7b56e444f3c83719c916911f81150f9b2..5cdd596df192f50051823ce8832a30695dc46d85 100644 (file)
@@ -670,7 +670,7 @@ static bool checkMissing(SMESH_Gen*                aGen,
   }
   case SMESH_subMesh::MISSING_HYP: {
     // notify if an algo missing hyp is attached to aSubMesh
-    algo = aGen->GetAlgo( aMesh, aSubMesh->GetSubShape() );
+    algo = aSubMesh->GetAlgo();
     ASSERT( algo );
     bool IsGlobalHypothesis = aGen->IsGlobalHypothesis( algo, aMesh );
     if (!IsGlobalHypothesis || !globalChecked[ algo->GetDim() ])
@@ -721,7 +721,7 @@ static bool checkMissing(SMESH_Gen*                aGen,
   {
     bool checkNoAlgo2 = ( algo->NeedDiscreteBoundary() );
     SMESH_subMeshIteratorPtr itsub = aSubMesh->getDependsOnIterator( /*includeSelf=*/false,
-                                                                     /*complexShapeFirst=*/false);
+                                                                     /*complexShapeFirst=*/true);
     while ( itsub->more() )
     {
       // sub-meshes should not be checked further more