I suggest adding an overloaded version of compute_vertex_values which
does not take the mesh as an argument for Functions (since the mesh is
available). Any objections?
--
Anders
--- Begin Message ---
Question #210000 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/210000
Status: Answered => Solved
Doug Arnold confirmed that the question is solved:
Many thanks, Anders.
BTW, for others reading this, the syntax for dolfin 1.0.0 is
vertex_values = np.zeros(mesh.num_vertices(), dtype='d')
v.compute_vertex_values(vertex_values, mesh)
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
--- End Message ---
_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dolfin
More help : https://help.launchpad.net/ListHelp