> I am debugging a program using the function
> *'get_generalized_support_points()' *( where**has_support_points()=0,
> while has_generalized_support_points()=1*)*. My FE system is defined as
> *'FESystem<3> fe(FE_Nedelec<3>(0), 2);'*, therefore, each active cell
> has 12*2 dofs. So I would also expect 'get_generalized_support_points()' can
> return the support points with a vector of size 24 (of course the value will
> repeat once). However, it only has 12 valid Point<3> values, the other 12 are
> zero or some crazy number.
>
> My question is, is this reasonable, or there is sth wrong with my understand
> on this.
Longying & Jochen:
the latter. You assume that the array you are reading from has 12*2 entries,
but the array really only has 12 entries and as a consequence when you output
24 elements, the latter half is accessing invalid memory.
Generalized support points are the ones at which you need to know the values
of a function to compute some kind of interpolant or projection. It is enough
to know a function (which would have 2 components) at 12 points to determine
the 24 coefficients of the interpolant because in your specific case, the two
elements that describe the two components have support points at the same
location.
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/