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 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()