- print "-------------------------- NETGEN_3D"
-
- algoNg = smesh.CreateHypothesis( "NETGEN_3D", "libNETGENEngine.so" )
- print algoNg.GetName()
- print algoNg.GetId()
- SetName(ObjectToID(algoNg), "Tetrahedron (NETGEN)")
- mesh.AddHypothesis(shape_mesh, algoReg1D)
- mesh.AddHypothesis(shape_mesh, algoMef)
- mesh.AddHypothesis(shape_mesh, algoNg)
- smesh.Compute(mesh,shape_mesh)
+ print "-------------------------- NETGEN_3D"
+ algoNg = smesh.CreateHypothesis( "NETGEN_3D", "libNETGENEngine.so" )
+ for hyp in listHyp:
+ print hyp
+ print algoNg.GetName()
+ print algoNg.GetId()
+ SetName(ObjectToID(algoNg), "Tetrahedron (NETGEN)")
+ mesh.AddHypothesis(shape_mesh, algoReg1D)
+ mesh.AddHypothesis(shape_mesh, algoMef)
+ mesh.AddHypothesis(shape_mesh, algoNg)
+ smesh.Compute(mesh,shape_mesh)