Salome HOME
PAL8238 - Hypothesis for non-regular 1D meshing
[modules/smesh.git] / src / SMESH_SWIG / SMESH_reg.py
index 8235deb..cbe9e1d 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()