-<p class="whs1">print hypNbSeg.GetNumberOfSegments()</p>\r
-\r
-<p class="whs1">smeshgui.SetName(salome.ObjectToID(hypNbSeg), \r
- "NumberOfSegments_10")</p>\r
-\r
-<p class="whs1">print "-------------------------- \r
- MaxElementArea"</p>\r
-\r
-<p class="whs1">maxElementArea = \r
- 800</p>\r
-\r
-<p class="whs1">hypArea = smesh.CreateHypothesis("MaxElementArea", \r
- "libStdMeshersEngine.so")</p>\r
-\r
-<p class="whs1">hypArea.SetMaxElementArea(maxElementArea)</p>\r
-\r
-<p class="whs1">print hypArea.GetName()</p>\r
-\r
-<p class="whs1">print hypArea.GetId()</p>\r
-\r
-<p class="whs1">print hypArea.GetMaxElementArea()</p>\r
-\r
-<p class="whs1">smeshgui.SetName(salome.ObjectToID(hypArea), \r
- "MaxElementArea_500")</p>\r
-\r
-<p class="whs1">print "-------------------------- \r
- MaxElementVolume"</p>\r
-\r
-<p class="whs1">maxElementVolume \r
- = 900</p>\r
-\r
-<p class="whs1">hypVolume = smesh.CreateHypothesis("MaxElementVolume", \r
- "libStdMeshersEngine.so")</p>\r
-\r
-<p class="whs1">hypVolume.SetMaxElementVolume(maxElementVolume)</p>\r
-\r
-<p class="whs1">print hypVolume.GetName()</p>\r
-\r
-<p class="whs1">print hypVolume.GetId()</p>\r
-\r
-<p class="whs1">print hypVolume.GetMaxElementVolume()</p>\r
-\r
-<p class="whs1">smeshgui.SetName(salome.ObjectToID(hypVolume), \r
- "MaxElementVolume_500")</p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs2"># create algorithms</p>\r
-\r
-<p class="whs1">print "-------------------------- \r
- create Algorithms"</p>\r
-\r
-<p class="whs1">print "-------------------------- \r
- Regular_1D"</p>\r
-\r
-<p class="whs1">regular1D = smesh.CreateHypothesis("Regular_1D", \r
- "libStdMeshersEngine.so")</p>\r
-\r
-<p class="whs1">smeshgui.SetName(salome.ObjectToID(regular1D), \r
- "Wire Discretisation")</p>\r
-\r
-<p class="whs1">print "-------------------------- \r
- MEFISTO_2D"</p>\r
-\r
-<p class="whs1">mefisto2D = smesh.CreateHypothesis("MEFISTO_2D", \r
- "libStdMeshersEngine.so")</p>\r
-\r
-<p class="whs1">smeshgui.SetName(salome.ObjectToID(mefisto2D), \r
- "MEFISTO_2D")</p>\r
-\r
-<p class="whs2"> </p>\r
-\r
-<p class="whs2"># initialize a mesh with \r
- the box</p>\r
-\r
-<p class="whs1">mesh = smesh.CreateMesh(box)</p>\r
-\r
-<p class="whs1">smeshgui.SetName(salome.ObjectToID(mesh), \r