Salome HOME
SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025
authoreap <eap@opencascade.com>
Fri, 23 Aug 2013 16:27:29 +0000 (16:27 +0000)
committereap <eap@opencascade.com>
Fri, 23 Aug 2013 16:27:29 +0000 (16:27 +0000)
make smoothAnalyticEdge() work for a circle EDGE in 3D case

src/StdMeshers/StdMeshers_ViscousLayers.cxx

index 7c95886..67c79fe 100644 (file)
@@ -2533,6 +2533,10 @@ bool _ViscousBuilder::smoothAnalyticEdge( _SolidData&           data,
 
     if ( F.IsNull() ) // 3D
     {
+      if ( data._edges[iFrom]->_2neibors->_nodes[0] ==
+           data._edges[iTo-1]->_2neibors->_nodes[1] )
+        return true; // closed EDGE - nothing to do
+
       return false; // TODO ???
     }
     else // 2D