# run optimization
optMesh.Compute()
-print "Nb tetra before optimization", mesh.NbTetras()
-print "Nb tetra after optimization", optMesh.NbTetras()
+print("Nb tetra before optimization", mesh.NbTetras())
+print("Nb tetra after optimization", optMesh.NbTetras())
# End of script
# if it is @c 0 (default), the algorithm is assigned to the main shape
def __init__(self, mesh, geom=0):
Mesh_Algorithm.__init__(self)
- if noGHS3DPlugin: print "Warning: GHS3DPlugin module unavailable"
+ if noGHS3DPlugin: print("Warning: GHS3DPlugin module unavailable")
self.Create(mesh, geom, self.algoType, "libGHS3DEngine.so")
self.params = None
pass