← Back to team overview

dolfin team mailing list archive

[question210000@xxxxxxxxxxxxxxxxxxxxx: Re: [Question #210000]: export dolfin vector computed in parallel]

 

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 ---

Follow ups