Salome HOME
0021893: EDF 2133 SMESH : Improvement of 3D extrusion algorithm
authoreap <eap@opencascade.com>
Fri, 1 Feb 2013 10:52:04 +0000 (10:52 +0000)
committereap <eap@opencascade.com>
Fri, 1 Feb 2013 10:52:04 +0000 (10:52 +0000)
In Compute(), do not call Compute() of a more local algo if this
!algo->NeedDiscreteBoundary() also

src/SMESH/SMESH_Gen.cxx

index 098c754bc434579c74580999d4064cb21ab759ad..a9da55b41e72916cded85d63ad6c7093a6f53585 100644 (file)
@@ -322,6 +322,7 @@ bool SMESH_Gen::Compute(SMESH_Mesh &          aMesh,
           .And( SMESH_HypoFilter::IsMoreLocalThan( algoShape, aMesh ));
 
         if ( SMESH_Algo* subAlgo = (SMESH_Algo*) aMesh.GetHypothesis( aSubShape, filter, true )) {
+          if ( ! subAlgo->NeedDiscreteBoundary() ) continue;
           SMESH_Hypothesis::Hypothesis_Status status;
           if ( subAlgo->CheckHypothesis( aMesh, aSubShape, status ))
             // mesh a lower smToCompute starting from vertices