dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #03326
Re: [HG] Merge.
On Tue, Sep 19, 2006 at 09:15:51AM +0200, Anders Logg wrote:
> Sounds very interesting. What does the interpolation do? Can you
> interpolate/project between two given functions?
>
> /Anders
>
You can interpolate between two given functions (the target needs to
be a DiscreteFunction). It uses the same interpolation functionality
as the assemble functions, so it has the same capabilities as
that. The primary reason for adding this interface is to be able to
interpolate an initial value given by a UserFunction to a
DiscreteFunction. But it should also work for interpolating a
quadratic solution to a linear finite element space for example, as
far as I can see.
I want to add projection too, but that probably has to go via
PyDOLFIN.
Johan
Follow ups
References