[Dune-devel] getting the first element
Agnese, Marco
m.agnese13 at imperial.ac.uk
Tue Dec 1 17:58:05 CET 2015
Something like this
const auto firstEntity(*(gv.template begin<0>()));
??
I don't understand what you mean with new iterators...
________________________________________
From: dune-devel-bounces+m.agnese13=imperial.ac.uk at dune-project.org <dune-devel-bounces+m.agnese13=imperial.ac.uk at dune-project.org> on behalf of Aleksejs Fomins <aleksejs.fomins at lspr.ch>
Sent: 01 December 2015 16:43
To: dune-devel at dune-project.org
Subject: [Dune-devel] getting the first element
Dear Dune,
Another small question.
I want to extract 1 element from the leafGridView. I don't care which one it is.
How do I do this with the new fancy iterators?
Best,
Aleksejs
_______________________________________________
Dune-devel mailing list
Dune-devel at dune-project.org
http://lists.dune-project.org/mailman/listinfo/dune-devel
More information about the Dune-devel
mailing list