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 2f9bdac..b94b67c 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*/)
 {
 bool StdMeshers_Adaptive1D::SetParametersByDefaults(const TDefaults&  dflts,
                                                     const SMESH_Mesh* /*theMesh*/)
 {
-  myMinSize = dflts._elemLength / 100;
+  myMinSize = dflts._elemLength / 10;
   myMaxSize = dflts._elemLength * 2;
   myMaxSize = dflts._elemLength * 2;
-  myDeflection = myMinSize / 10;
+  myDeflection = myMinSize / 7;
   return true;
 }
 
   return true;
 }