From cd1e7dd18f349344f490265386e29de09c6ce56e Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 1 Dec 2011 06:43:51 +0000 Subject: [PATCH] 0021422: EDF 1963 SMESH: Viscous layer algorithm fails in some cases (cylindre_partition.py) fix shrinking on cancave FACEs --- src/StdMeshers/StdMeshers_ViscousLayers.cxx | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/src/StdMeshers/StdMeshers_ViscousLayers.cxx b/src/StdMeshers/StdMeshers_ViscousLayers.cxx index f2c3685f6..4952afab6 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers.cxx @@ -772,7 +772,7 @@ namespace //const double maxAngle = 5 * Standard_PI180; if ( !isConvex ) { - cout << "Concave FACE " << helper.GetMeshDS()->ShapeToIndex( F ) << endl; + //cout << "Concave FACE " << helper.GetMeshDS()->ShapeToIndex( F ) << endl; return true; // map< double, const SMDS_MeshNode* > u2nodes; // if ( !SMESH_Algo::GetSortedNodesOnEdge( helper.GetMeshDS(), E, @@ -811,10 +811,12 @@ namespace << "meshSO = GetCurrentStudy().FindObjectID('0:1:2:3')" << endl << "mesh = Mesh( meshSO.GetObject() )"<