[Dune] Feature request.

Robert Kloefkorn robertk at mathematik.uni-freiburg.de
Wed Jun 22 12:50:07 CEST 2005


Oliver Sander wrote:
>> as we have the IdSets (Peter will discribe them on the next meeting) we
>> can implement a slow default version of this feature and for example
>> this can be overlaoded by a certain implementation. Also the father
>> method has to be implemented this way.
>>
> 
> I have thought about this problem quite a while, and I have not found
> a way to implement a default hierarchic iterator for faces using only
> topological information.  You can't use vertex numbers because they
> are not the same across different levels.  

But u can use the id of a vertex, as i mentioned in my mail. With that
one can implement such a functionality.

I ended up using normal
> tests for a while, but that only works for boundary faces and only
> if that boundary is not parametrized. 


> Now I start to reuse parametrized
> boundaries again, and in my desperation I now built my very
> special UGGrid interface extension to solve my problem.
> Works-for-me(tm)
> but a HierarchicIterator would be much nicer.

I know that. But on the other hand, introducing a new interface feature
would mean that all the implementations hava to implement this feature,
and I'm sorry, but I don't have time for that (this is not so easy,
essepcially for AlbertaGrid). Therefore we should make a default
implementation and I think the interface has all the funtionality do that.

Bye

R

-- 

  Robert Klöfkorn           <robertk at mathematik.uni-freiburg.de>

  Mathematisches Institut              Tel: +49 (0) 761 203 5631
  Abt. für Angewandte Mathematik       Fax: +49 (0) 761 203 5632
  Universität Freiburg
  Hermann-Herder-Str. 10
  79104 Freiburg

  http://www.mathematik.uni-freiburg.de/IAM/homepages/robertk




More information about the Dune mailing list