[Dune] How to iterate over the vertices of an element?
arne at stud.ntnu.no
Mon Nov 3 11:03:47 CET 2008
In my code I have an expression like this:
const int dim=2;
for (ElementIterator it=grid.template leafbegin<0>(); it<grid.template
// Here I want to iterate over the vertices for this element
( Entities of codim 2 restricted on this element)
I need the entities, so the the coordinates of each vertex (it-
>geometry()[i]) is not enough. How can I do this?
More information about the Dune