[Dune-devel] Random-Access Iterators

Jö Fahlke jorrit at jorrit.de
Wed Oct 1 17:08:49 CEST 2014


Am Wed,  1. Oct 2014, 15:35:35 +0200 schrieb Martin Nolte:
> Hi all,
> 
> this is a very interesting discussion, especially as people start
> mixing different meanings of "Random Access Iterator":
> 
> (a) for structured grids, you could say random access means writing
>     something like
> 	 (it + x_axis_increment( k ))
>     or something like that.
> (b) you could also want to write
>     gridView.begin() + gridView.indexSet().index( entity )
>     to obtain an iterator to "entity"
> (c) for the STL, a random access iterator just provides array-like
> access to elements in a range [begin,end) or the distance (it -
> begin).

This proposal is strictly about (c).  Just to clear that up.

Regards,
Jö.

-- 
Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
University of Münster, Orleans-Ring 10, D-48149 Münster
Tel: +49 251 83 35146 Fax: +49 251 83 32729

[Zum Thema GNOME 3]
(15:11:22) marina: linus ist auf meiner seite
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20141001/a7ab62e8/attachment.sig>


More information about the Dune-devel mailing list