From 73f0e4b562e723c129638feb4907dd9bb6836299 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 22 Aug 2014 15:41:12 +0400 Subject: [PATCH] 22483: EDF 2772 SMESH: Define several 3D viscous layer hypotheses on the same Geometry --- src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx index bfec44f..03a1b08 100644 --- a/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx +++ b/src/GHS3DPlugin/GHS3DPlugin_GHS3D.cxx @@ -187,7 +187,10 @@ bool GHS3DPlugin_GHS3D::CheckHypothesis ( SMESH_Mesh& aMesh, _logInStandardOutput = _hyp->GetStandardOutputLog(); } - return true; + if ( _viscousLayersHyp ) + error( _viscousLayersHyp->CheckHypothesis( aMesh, aShape, aStatus )); + + return aStatus == HYP_OK; } -- 2.39.2