]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
In SetParametersByDefaults(), make myMinSize and myDeflection greater
authoreap <eap@opencascade.com>
Mon, 18 Nov 2013 16:50:05 +0000 (16:50 +0000)
committereap <eap@opencascade.com>
Mon, 18 Nov 2013 16:50:05 +0000 (16:50 +0000)
src/StdMeshers/StdMeshers_Adaptive1D.cxx

index 2f9bdac328b3921a92831150475c5822a35eb2ec..b94b67ce9147ad164f3738e86042eacc3ccae9a1 100644 (file)
@@ -932,9 +932,9 @@ bool StdMeshers_Adaptive1D::SetParametersByMesh(const SMESH_Mesh*   theMesh,
 bool StdMeshers_Adaptive1D::SetParametersByDefaults(const TDefaults&  dflts,
                                                     const SMESH_Mesh* /*theMesh*/)
 {
-  myMinSize = dflts._elemLength / 100;
+  myMinSize = dflts._elemLength / 10;
   myMaxSize = dflts._elemLength * 2;
-  myDeflection = myMinSize / 10;
+  myDeflection = myMinSize / 7;
   return true;
 }