On Mon, Oct 01, 2012 at 11:07:41AM +0100, Garth N. Wells wrote: > On Mon, Oct 1, 2012 at 10:35 AM, Anders Logg <[email protected]> wrote: > > 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? > > > > No. Sounds good.
Added now. -- Anders > Garth > > > > > > > ---------- Forwarded message ---------- > > From: Doug Arnold <[email protected]> > > To: [email protected] > > Cc: > > Date: Mon, 01 Oct 2012 01:25:53 -0000 > > Subject: Re: [Question #210000]: export dolfin vector computed in parallel > > 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) > > > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~dolfin > > Post to : [email protected] > > Unsubscribe : https://launchpad.net/~dolfin > > More help : https://help.launchpad.net/ListHelp > > _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

