[Dune] [#671] GridFactory: index translation for coarse grid creation

Dune flyspray at dune-project.org
Sun Dec 20 20:20:59 CET 2009


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

The following task has a new comment added:

FS#671 - GridFactory: index translation for coarse grid creation
User who did this - Martin Nolte (nolte)

----------
I agree that the boundary index should be a real index, i.e., a local, zero-based, contiguous integer (otherwise we could also use the level-0 id of the face).

As the index is attached to the grid, which need not be created by a grid factory (e.g., YaspGrid), I suggest to have the method boundarySize (or boundaryIndexSize, or whatever the name will be) on the grid.

The only other real possibility that I see would be a boundary index set (with methods index(Intersection) and size()). While  this might be more the DUNE style, it make grid implementation even more complicated.

If I understand correctly, boundary indices shall be persistent under adaptation (in contrast to existing index sets - yet another argument against a real boundary index set).

The question that remains is, how to treat the boundary index during load balancing. As a local, zero-based, contiguous index it cannot be persistent during load balancing, since the number of boundaries might shrink on one process. Here, I think we can attach the data to the level-0 id of the face (which has to coincide with the intersection).
----------

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

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