<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Thanks. I couldn't understand this interface, but now I have some conception. So I call GridView::indexSet() and I get the needed IS array. Is it right?<br><br>--- On <b>Wed, 30/11/11, Christian Engwer <i><christian.engwer@uni-muenster.de></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Christian Engwer <christian.engwer@uni-muenster.de><br>Subject: Re: [Dune] Add feature of looking for cells<br>To: "Sergei Malashenko" <malashenko_sergei@yahoo.com><br>Cc: dune@dune-project.org<br>Date: Wednesday, 30 November, 2011, 12:54<br><br><div class="plainMail">On Wed, Nov 30, 2011 at 05:21:23AM +0000, Sergei Malashenko wrote:<br>> Thanks. I can't understand the second parameter in definition of the template (IS). What does it mean? Please give a short example of using
this functionality.<br><br>this helper class is somewhat older... it doesn't use gridviews<br>directly, but you have to pass the grid and the indexset (IS) of the<br>gridview to the class.<br><br>christian<br><br>> <br>> --- On Wed, 30/11/11, Christian Engwer <<a ymailto="mailto:christian.engwer@uni-muenster.de" href="/mc/compose?to=christian.engwer@uni-muenster.de">christian.engwer@uni-muenster.de</a>> wrote:<br>> <br>> From: Christian Engwer <<a ymailto="mailto:christian.engwer@uni-muenster.de" href="/mc/compose?to=christian.engwer@uni-muenster.de">christian.engwer@uni-muenster.de</a>><br>> Subject: Re: [Dune] Add feature of looking for cells<br>> To: "Sergei Malashenko" <<a ymailto="mailto:malashenko_sergei@yahoo.com" href="/mc/compose?to=malashenko_sergei@yahoo.com">malashenko_sergei@yahoo.com</a>><br>> Cc: <a ymailto="mailto:dune@dune-project.org"
href="/mc/compose?to=dune@dune-project.org">dune@dune-project.org</a><br>> Date: Wednesday, 30 November, 2011, 1:08<br>> <br>> On Tue, Nov 29, 2011 at 09:25:53PM +0000, Sergei Malashenko wrote:<br>> > Good day. I want to add feature of looking for cell which contains<br>> some point. For this I am going to use KD-tree structure data. I see<br>> that I can't return Entity and I have to return Iterator isn't it?<br>> <br>> Please have a look at the HierarchicSearch in the dune-grid utilities<br>> directory. It should do exactly what you are looking for.<br>> <br>> And yes, you can't copy Entities and should return EntityPointers (the<br>> dune version of a trivial iterator)<br>> <br>> Christian<br>> <br>> > _______________________________________________<br>> > Dune mailing list<br>> > <a ymailto="mailto:Dune@dune-project.org"
href="/mc/compose?to=Dune@dune-project.org">Dune@dune-project.org</a><br>> > <a href="http://lists.dune-project.org/mailman/listinfo/dune" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br>> <br><br>> _______________________________________________<br>> Dune mailing list<br>> <a ymailto="mailto:Dune@dune-project.org" href="/mc/compose?to=Dune@dune-project.org">Dune@dune-project.org</a><br>> <a href="http://lists.dune-project.org/mailman/listinfo/dune" target="_blank">http://lists.dune-project.org/mailman/listinfo/dune</a><br><br></div></blockquote></td></tr></table>