[Dune] [#347] UGGrid index sets use O(n) default implementation of method contains()

Dune flyspray at dune-project.org
Tue Oct 5 14:48:11 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#347 - UGGrid index sets use O(n) default implementation of method contains()
User who did this - Carsten Gräser (Carsten)

----------
Implementing a) in an efficient way will in general be complicated.
Furthermore in most cases one knows in advance to which grid an
entity belongs. On the otherhand it is very important that there
is an efficient way to find out if an element belongs to a gridview.
Hence I would prefer b).

If there is a demand for more we could add a method contains to the
grid get the full information for a) by

grid.contains(e) && gridview.indexSet().contains(e)
----------

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

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