dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #25971
Re: [question210000@xxxxxxxxxxxxxxxxxxxxx: Re: [Question #210000]: export dolfin vector computed in parallel]
-
To:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
From:
Anders Logg <logg@xxxxxxxxx>
-
Date:
Tue, 2 Oct 2012 14:35:57 +0200
-
Cc:
DOLFIN Mailing List <dolfin@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAA4C66OWWGTqMiudSV6F7PQbPR=7MXtsKzbmiVkW2A1ou6ns7g@mail.gmail.com>
-
User-agent:
Mutt/1.5.21 (2010-09-15)
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 <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.
Added now.
--
Anders
> Garth
>
> >
> >
> > ---------- 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)
> >
> >
> > _______________________________________________
> > Mailing list: https://launchpad.net/~dolfin
> > Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> > Unsubscribe : https://launchpad.net/~dolfin
> > More help : https://help.launchpad.net/ListHelp
> >
References