From: Christophe Bourcier Date: Mon, 1 Oct 2018 08:33:25 +0000 (+0200) Subject: Allows to set more precise height and progression of boundary layers X-Git-Tag: V9_2_0a2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=145f27ae8f36827dd0272a2960486e616a2e009a;p=plugins%2Fhybridplugin.git Allows to set more precise height and progression of boundary layers --- diff --git a/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx b/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx index cfa65f4..a89b143 100644 --- a/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx +++ b/src/GUI/HYBRIDPluginGUI_HypothesisCreator.cxx @@ -419,7 +419,7 @@ QFrame* HYBRIDPluginGUI_HypothesisCreator::buildFrame() aStdLayout->addWidget( new QLabel( tr( "HYBRID_HeightFirstLayer" ), myStdGroup ), row, 0, 1, 1 ); myHeightFirstLayerSpin = new SMESHGUI_SpinBox( myStdGroup ); - myHeightFirstLayerSpin->RangeStepAndValidator(0., 100., .1, "HeightFirstLayer"); + myHeightFirstLayerSpin->RangeStepAndValidator(0., COORD_MAX, .1, "length_precision"); aStdLayout->addWidget( myHeightFirstLayerSpin, row++, 1, 1, 1 ); aStdLayout->addWidget( new QLabel( tr( "HYBRID_NbOfBoundaryLayers" ), myStdGroup ), row, 0, 1, 1 ); @@ -428,7 +428,7 @@ QFrame* HYBRIDPluginGUI_HypothesisCreator::buildFrame() aStdLayout->addWidget( new QLabel( tr( "HYBRID_BoundaryLayersProgression" ), myStdGroup ), row, 0, 1, 1 ); myBoundaryLayersProgressionSpin = new SMESHGUI_SpinBox( myStdGroup ); - myBoundaryLayersProgressionSpin->RangeStepAndValidator(0., 10., .1, "BoundaryLayersProgression"); + myBoundaryLayersProgressionSpin->RangeStepAndValidator(0., 10., .1, "length_precision"); aStdLayout->addWidget( myBoundaryLayersProgressionSpin, row++, 1, 1, 1 ); aStdLayout->addWidget( new QLabel( tr( "COLLISION_MODE" ), myStdGroup ), row, 0, 1, 1 );