← Back to team overview

dolfin team mailing list archive

Re: Getting Function values and vertex coordinates

 

On Fri, Sep 02, 2011 at 04:38:55PM -0700, Garth N. Wells wrote:
> It would be useful if we could get coordinates of vertices and function
> values at each vertex in a handy object. This could be used in plotting
> programs like Matplotlib. Are there any tricks already implemented to do
> this? with iterating over a Mesh?
>
> Garth

Yes, and we use this already for plotting:

  Mesh::coordinates()
  Function::compute_vertex_values()

--
Anders


References