From 1f560f85078b30b5715b51458895e2c3c0171152 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 21 Nov 2012 16:00:30 +0000 Subject: [PATCH] 0021543: EDF 1978 SMESH: Viscous layer for 2D meshes fix _ViscousBuilder2D::toShrinkForAdjacent() + builder._faceSideVec = StdMeshers_FaceSide::GetFaceWires( adjFace, *_mesh, true, _error ); --- src/StdMeshers/StdMeshers_ViscousLayers2D.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx b/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx index 0e2b7ec70..85d24aeb2 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx @@ -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 ); -- 2.39.2