[Dune] Add feature of looking for cells

Sergei Malashenko malashenko_sergei at yahoo.com
Wed Nov 30 06:21:23 CET 2011


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.

--- 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

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


More information about the Dune mailing list