dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #25961
Re: [question210000@xxxxxxxxxxxxxxxxxxxxx: Re: [Question #210000]: export dolfin vector computed in parallel]
On Mon, Oct 1, 2012 at 10:35 AM, Anders Logg <logg@xxxxxxxxx> 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.
Garth
> --
> Anders
>
>
> ---------- Forwarded message ----------
> From: Doug Arnold <question210000@xxxxxxxxxxxxxxxxxxxxx>
> To: logg@xxxxxxxxx
> 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)
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References