[dune-fem] Interpolation over DiscontinuosLagrangeSpace

Martin Nolte nolte at mathematik.uni-freiburg.de
Sat Jun 6 21:06:18 CEST 2015


Hi Marco,

the (local) interpolation depends on the space you interpolate to. The function 
"interpolate" is just a very small utility, iterating over the grid and 
performing the local interpolation on each entity.

As for your specific error: I do not understand the problem either. Could you 
provide a simple test program triggering the error? If that's too hard, could 
you send us the program output (at least the exact assertion)? Without this 
information, we'd be reading tea leaves.

Best,

Martin

On 06/06/2015 12:25 PM, Agnese, Marco wrote:
> Hi everybody,
> I have one final problem concerning the interpolation.
>
> Using the LocalFunctionAdapter I am now able to interpolate my analytical functions over a discrete function defined on a continuous Lagrange space.
> Instead, if I choose to use a discontinuous Lagrange space (for both the LocalFunctionAdapter and the discrete function) the function interpolate(...) fails.
>
> To be more precise, first it didn't compile because the method order() was not present in the LocalFunctionAdpaterLocal and I added it.
> Now, it compiles but it fails an assertion. I don't remember precisely the error but it is something like that the local order is bigger than local dofs size.
>
> Shouldn't the interpolation(...) work for all the space? Why it works fine for one type of space and not for the other?Is there a bug in it (or in the discontinuous space) or am I doing something wrong?
>
> Thank you very much,
> cheers,
> Marco.
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
>

-- 
Dr. Martin Nolte <nolte at mathematik.uni-freiburg.de>

Universität Freiburg                                   phone: +49-761-203-5630
Abteilung für angewandte Mathematik                    fax:   +49-761-203-5632
Hermann-Herder-Straße 10
79104 Freiburg, Germany




More information about the dune-fem mailing list