[Dune] [#537] Use new local indices in dune-localfunctions

Dune dune at dune-project.org
Fri Apr 17 18:10:13 CEST 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#537 - Use new local indices in dune-localfunctions
User who did this - Sven Marnach (sven)

----------
No, I do not want to reorder the local basis functions in an order which is nicely suited for pdelab, I just want to reorder them in the only intuitive way (following the principle of least surprise).  Each local basis function of the RT0 elements is associated with an edge, and local basis function #i should belong to edge #i, as Jö pointed out.  Otherwise, the LocalCoefficients class would have to return local keys like LocalKey(2-i,1,0), where "2-i" is actually the mapping from old to new numbering without explicitly saying so.  Additionally, and even more importantly, *any* application which uses the RT0 elements would have to do this remapping of indices as well (when calling the constructor, which has to be told the signs of the local basis functions).  I don't think it is a matter of taste -- there is only one reasonable choice for the order of RT0 basis functions.

I didn't think enough about pk2d yet, but there might be a similar issue.

@Carsten: If I really reorder pk2d, I will also take care of refinedp1.  But please, have a close and critical look at my commits.  We have to be really careful!
----------

More information can be found at the following URL:
http://www.dune-project.org/flyspray/index.php?do=details&task_id=537#comment891

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.




More information about the Dune mailing list