]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
PAL8238 - Hypothesis for non-regular 1D meshing
authorasl <asl@opencascade.com>
Wed, 23 Nov 2005 09:27:11 +0000 (09:27 +0000)
committerasl <asl@opencascade.com>
Wed, 23 Nov 2005 09:27:11 +0000 (09:27 +0000)
src/SMESH_SWIG/SMESH_reg.py

index 8235deb6fe7d2962992c8a89c5ff2129ff4e5921..cbe9e1d2d8dda59bfa7cc02f553a2d1bd51039c2 100644 (file)
@@ -108,8 +108,8 @@ hypNbSeg.append(hypNbSeg3)
 
 hypNbSeg4 = smesh.CreateHypothesis("NumberOfSegments", "libStdMeshersEngine.so")
 hypNbSeg4.SetDistrType(3)
-hypNbSeg4.SetNumberOfSegments(7)
-hypNbSeg4.SetExpressionFunction("sin(t)")
+hypNbSeg4.SetNumberOfSegments(10)
+hypNbSeg4.SetExpressionFunction("sin(3*t)")
 print hypNbSeg4.GetName()
 print hypNbSeg4.GetId()
 print hypNbSeg4.GetNumberOfSegments()