[Dune] Add feature of looking for cells

Christian Engwer christian.engwer at uni-muenster.de
Wed Nov 30 10:54:17 CET 2011


On Wed, Nov 30, 2011 at 05:21:23AM +0000, Sergei Malashenko wrote:
> 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.

this helper class is somewhat older... it doesn't use gridviews
directly, but you have to pass the grid and the indexset (IS) of the
gridview to the class.

christian

> 
> --- On Wed, 30/11/11, Christian Engwer <christian.engwer at uni-muenster.de> wrote:
> 
> From: Christian Engwer <christian.engwer at uni-muenster.de>
> Subject: Re: [Dune] Add feature of looking for cells
> To: "Sergei Malashenko" <malashenko_sergei at yahoo.com>
> Cc: dune at dune-project.org
> Date: Wednesday, 30 November, 2011, 1:08
> 
> On Tue, Nov 29, 2011 at 09:25:53PM +0000, Sergei Malashenko wrote:
> > Good day. I want to add feature of looking for cell which contains
> some point. For this I am going to use KD-tree structure data. I see
> that I can't return Entity and I have to return Iterator isn't it?
> 
> Please have a look at the HierarchicSearch in the dune-grid utilities
> directory. It should do exactly what you are looking for.
> 
> And yes, you can't copy Entities and should return EntityPointers (the
> dune version of a trivial iterator)
> 
> Christian
> 
> > _______________________________________________
> > Dune mailing list
> > Dune at dune-project.org
> > http://lists.dune-project.org/mailman/listinfo/dune
> 

> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune





More information about the Dune mailing list