]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021543: EDF 1978 SMESH: Viscous layer for 2D meshes
authoreap <eap@opencascade.com>
Wed, 21 Nov 2012 16:00:30 +0000 (16:00 +0000)
committereap <eap@opencascade.com>
Wed, 21 Nov 2012 16:00:30 +0000 (16:00 +0000)
fix _ViscousBuilder2D::toShrinkForAdjacent()

+    builder._faceSideVec = StdMeshers_FaceSide::GetFaceWires( adjFace, *_mesh, true, _error );

src/StdMeshers/StdMeshers_ViscousLayers2D.cxx

index 0e2b7ec708085d725e8cab4c5e1af78731e4e9e7..85d24aeb2b3727d65fdb09d40f480248f20d05bf 100644 (file)
@@ -1714,6 +1714,7 @@ bool _ViscousBuilder2D::toShrinkForAdjacent( const TopoDS_Face&   adjFace,
   if ( const StdMeshers_ViscousLayers2D* vlHyp = findHyp( *_mesh, adjFace ))
   {
     VISCOUS_2D::_ViscousBuilder2D builder( *_mesh, adjFace, vlHyp );
+    builder._faceSideVec = StdMeshers_FaceSide::GetFaceWires( adjFace, *_mesh, true, _error );
     builder.findEdgesWithLayers();
 
     PShapeIteratorPtr edgeIt = _helper.GetAncestors( V, *_mesh, TopAbs_EDGE );