← Back to team overview

dolfin team mailing list archive

Re: A minimal c++ Function test and some bugs

 

>   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


Follow ups

References