Hi,
could you send me (off-list) the file? It's a strange error.
r.
----- Reply message ----- From: "Xiaogai Li" xiaog...@gmail.com To: sfepy...@googlegroups.com Subject: About the mesh_tools.smooth Date: Fri, Apr 27, 2012 00:37 Hello everyone, I met a strange error when using smooth_mesh. It seems that I could not create the object Domain, however, I have verified that the voxel-mesh was quite nice.
coordssmooth = smooth_mesh(m, 4, 0.6307, -0.6347, None, True, False) File "/usr/local/lib/python2.7/dist-packages/sfepy/mesh/mesh_tools.py", line 505, in smooth_mesh domain = Domain('mesh', mesh) File "/usr/local/lib/python2.7/dist-packages/sfepy/fem/domain.py", line 223, in __init__ self.setup_facets(verbose=verbose) File "/usr/local/lib/python2.7/dist-packages/sfepy/fem/domain.py", line 375, in setup_facets obj.setup_unique() File "/usr/local/lib/python2.7/dist-packages/sfepy/fem/facets.py", line 281, in setup_unique self.uid[0], self.uid[1:] = 0, ii[:-1]IndexError: index out of bounds