Salome HOME
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer
authoreap <eap@opencascade.com>
Thu, 30 May 2013 14:15:57 +0000 (14:15 +0000)
committereap <eap@opencascade.com>
Thu, 30 May 2013 14:15:57 +0000 (14:15 +0000)
commitcb2ff0ef7093f4e532ec69f15f514ba5a1c5a37e
tree4019b1f72b50b6f00991583e84d4563d30b16736
parent4a87093dce659ebda0d59761cd1a0350c542ab5a
0022104: EDF 2550 SMESH: 2D viscous layer, allow specifying edges with viscous layer

In addition to implementing IMP, avoid "limiting" _thickness to zero:

-    _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
+    if ( maxPossibleThick > 0. )
+      _thickness = Min( _hyp->GetTotalThickness(), maxPossibleThick );
src/StdMeshers/StdMeshers_ViscousLayers2D.cxx