[Dune] Extract coordinate of a point

Christian Engwer christian.engwer at uni-muenster.de
Fri May 23 15:26:30 CEST 2014


On Fri, May 23, 2014 at 01:24:59PM +0000, Agnese, Marco wrote:
> Hello DUNErs,
> a very quick question. 
> I have an iterator over the points of the leaf view: 
> typename LeafViewType::template Codim<GRIDDIM>::Iterator it;
> how can I extract the coordinates of the point?

it->geometry().corner(0);

Ciao
Christian

> 
> Thank you,
> Marco.
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-- 
Prof. Dr. Christian Engwer 
Institut für Numerische und Angewandte Mathematik
Fachbereich Mathematik und Informatik der Universität Münster
Einsteinstrasse 62
48149 Münster

E-Mail	christian.engwer at uni-muenster.de
Telefon	+49 251 83-35067
FAX		+49 251 83-32729




More information about the Dune mailing list