[Dune] Add feature of looking for cells

Sergei Malashenko malashenko_sergei at yahoo.com
Wed Nov 30 11:36:47 CET 2011


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?

--- 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, 12:54

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20111130/2792e2ba/attachment.htm>


More information about the Dune mailing list