[Dune] Getting the list of neighbours for a given element of the grid

Dedner, Andreas A.S.Dedner at warwick.ac.uk
Thu Oct 18 12:12:02 CEST 2012


The interesection iterator is the only way to access neighbors in DUNE. Why would you want to
have something else?

Best
Andreas

________________________________
From: dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org [dune-bounces+a.s.dedner=warwick.ac.uk at dune-project.org] on behalf of Sacconi, Andrea [a.sacconi11 at imperial.ac.uk]
Sent: 18 October 2012 11:05
To: dune at dune-project.org
Subject: [Dune] Getting the list of neighbours for a given element of the grid

Hi everyone,

I've a question about the grid.
Suppose you're interested in finding all the neighbours for a given element of a conforming grid. Is there a method that, given an element, tells you directly which are its neighbours?
Or is it necessary to traverse the Intersections and get that information with a loop?

Thanks in advance!

Andrea
__________________________________________________________

Andrea Sacconi
PhD student, Applied Mathematics
AMMP Section, Department of Mathematics, Imperial College London,
London SW7 2AZ, UK
a.sacconi11 at imperial.ac.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20121018/81ecefde/attachment.htm>


More information about the Dune mailing list