dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12227
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
-
A minimal c++ Function test and some bugs
From: A Navaei, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: A Navaei, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: Anders Logg, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: A Navaei, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: Anders Logg, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: A Navaei, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: A Navaei, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: A Navaei, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: Anders Logg, 2009-02-17
-
Re: A minimal c++ Function test and some bugs
From: A Navaei, 2009-02-17