← Back to team overview

dolfin team mailing list archive

Re: (no subject)

 

On Mon, Jul 06, 2009 at 09:28:04PM -0400, phil marinier wrote:
> I am trying to make a dolfin::Function from a C++ vector   double vector
> [numNodes]. How would I do this?

Use a standard piecewise linear element and then set the values by

  u.vector().set(values)

where values is your double* array of values.

-- 
Anders

Attachment: signature.asc
Description: Digital signature


References