[Dune] Iterator for all edges of a face?

Oliver Sander sander at mi.fu-berlin.de
Wed Mar 25 16:52:43 CET 2009


Hi Dragan!
Have a look at the Intersections and the IntersectionIterators.
They allow you to do just that.

--
Oliver

Dragan Vidovic schrieb:
> Hi all
>
> A beginner's question: I need to iterate all entities of dimension
> d-1 of an element of dimension d, for any d<=dim of the grid. Is there
> an iterator that would allow me to do this? I access the d-dimensional
> element trough a LeafIterator.
>
> I need all this in order to get areas and normals of tetrahedron
> faces, or lengths and vectors of triangle edges, in a uniform way.
>
> Thanks.
>
> Dragan
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>   


-- 
************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75348           *
* Institut für Mathematik      ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************





More information about the Dune mailing list