>   MyFunction f_(f);

Here you copy the function f to f_ and since f has a zero vector, f_
will also have a zero vector.

>   f.interpolate(f_.vector(), f.function_space());

Here f_ already has a zero vector or would get it by the call to
vector() if it didn't so again the result will be zero.

-- 
Anders

Attachment: signature.asc
Description: Digital signature

_______________________________________________
DOLFIN-dev mailing list
[email protected]
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to