From a27b03972c8d020b1c78b4fd85a6e0430bac702b Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 23 Aug 2013 16:27:29 +0000 Subject: [PATCH] SALOME Forum bug: http://www.salome-platform.org/forum/forum_10/967838025 make smoothAnalyticEdge() work for a circle EDGE in 3D case --- src/StdMeshers/StdMeshers_ViscousLayers.cxx | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.2