[dune-fem] coefficients of basefunction in the dg space

Tobias Malkmus tomalk at mathematik.uni-freiburg.de
Thu Oct 25 08:20:49 CEST 2012


Hi Klaus


On 10/24/2012 06:48 PM, Klaus Kaiser wrote:
> Hi,
>
> I have question concerning the dune-fem/dg part. I created an interpolation of a function in the discrete discontinuous galerkin space. This was done by setting the DoF Vector on every entity with the corresponding values of the function. Now I want to access the coefficients of the base functions, how do I do that? I searched a lot in the doxygen documentation, but didn't find a function, which gives me the values.
>
This sounds to me like Lagrange Interpolation, for a DG Space a L2 
projection would be the suitable interpolation method.

In Dune-Fem a discrete function is a combination of DofVector + 
DofMapper + LocalBasefunctions.
This allows you to generate localFunctions which are the local 
representation of a GridFunction / DiscreteFunction.

Some discreteFunction implementations allows you to access the DofVector 
as double*, eg. AdaptiveDiscreteFunction ( leakPointer() ).

Let me ask you where do you need the global Dof Vector?

Best Tobias

> Greetings and thanks for your help
>
> Klaus
>
> _______________________________________________
> dune-fem mailing list
> dune-fem at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-fem
>


-- 
Tobias Malkmus                 <tomalk at mathematik.uni-freiburg.de>

Mathematisches Institut               Tel: +49 (0) 761 203 5651
Abt. für Angewandte Mathematik        Universität Freiburg
Hermann-Herder-Str. 10
79104 Freiburg





More information about the dune-fem mailing list