[Dune] IndexSet and Iterator

Christian Engwer christian.engwer at uni-muenster.de
Tue Jul 24 20:10:35 CEST 2012


On Tue, Jul 24, 2012 at 01:34:53PM +0200, Felix Albrecht wrote:
> Dear all,
> 
> when I iterate over entities of a GridView, it seems to me that the
> iterator traverses through the entities exactly in the order that is
> given by the corresponding IndexSet of the GridView.
> 
> Can I be sure that this is always the case? If not, can I be sure that
> this is always the case for LeafGridViews of unchanged grids?

No and no. You can only be sure for certain grids, but the grid
interface doesn't give any guarantees.

Christian

> Thanks in advance!
> 
> Best,
> 
> Felix
> 
> -- 
> --
> ----------------------------------------------------------- 
>  Felix Albrecht 
> 
>  Institut fuer Numerische und Angewandte 
>  Mathematik, FB Mathematik und Informatik 
>  Universitaet Muenster, Room 120.012 
>  Orleans-Ring 10 
>  D-48149 Muenster 
> 
>  Tel.: +49 251 83 35130 
>  Fax:  +49 251 83 32729 
>  Mail: felix.albrecht at uni-muenster.de 
>  WWW:  www.uni-muenster.de/math/u/felix.albrecht/ 
> -----------------------------------------------------------
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-- 
Prof. Dr. Christian Engwer 
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail	christian.engwer at uni-muenster.de
Telefon	+49 251 83-35067
FAX		+49 251 83-32729




More information about the Dune mailing list