[Dune] Geometric position of dofs

Carsten Gräser graeser at math.fu-berlin.de
Tue Aug 10 15:04:15 CEST 2010


Dear Nicolas,
if you refer to the finite element interface in dune-localfunctions
the answer is no. The reason is that there are elements where basis
functions are not associated to geometric positions. On example are
the monomials.

However in many situations you will not need this information:
*If you want to sample some given function you can use the
 interpolate() method of the corresponding localinterpolation class.
*If you want to associate your DOFs to geometric quantities
 (not positions) you can use localKey which will provide
 a subentity and a unique index within it for each basis function.

Regards
Carsten

Am 10.08.2010 14:42, schrieb Nicolas Schwenck:
> Dear Dune,
> 
> Is there an easy way to get the geometric position of each degree of
> freedom in each element (it depends on the used elements, e.g. Q, RT,
> etc., and the element order, i.e. the specific finite element map)
> within the user-written local operator?
> 
> Thank you in advance. Kind regards, Nicolas
> 




More information about the Dune mailing list