From: eap Date: Fri, 23 Aug 2013 16:27:29 +0000 (+0000) Subject: SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025 X-Git-Tag: V7_3_0a1~182 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a27b03972c8d020b1c78b4fd85a6e0430bac702b;p=modules%2Fsmesh.git SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025 make smoothAnalyticEdge() work for a circle EDGE in 3D case --- diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index 7c9588671..67c79fef7 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -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