Hi, I stumbled across what seems to be a bug in SphereMesh. I saved a function based on a mesh from SphereMesh in dolfin 1.4 (python on ubuntu), and loaded it into another session using the same parameters of SphereMesh, yet I got an error of non-matching dimensions.
It seems that running SphereMesh does not always give the same mesh: >>> mesh = SphereMesh(Point(0,0,0),1,8e-2) >>> mesh.num_vertices() 6568 >>> mesh = SphereMesh(Point(0,0,0),1,8e-2) >>> mesh.num_vertices() 6561 >>> mesh = SphereMesh(Point(0,0,0),1,8e-2) >>> mesh.num_vertices() 6563 There are no problems using CircleMesh. It is easy to fix my problem above by saving the mesh, but it seems unlikely that this is the intended use of SphereMesh. Best regards Henrik Garde _______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
