[Dune] A question of intersection
Andreas Dedner
dedner at mathematik.uni-freiburg.de
Mon Feb 15 13:16:16 CET 2010
If you have a grid with either overlap or ghost entities then neighbor
will return true
and outside will return the ghost/overlap entity, even if it is not
owned by that processor.
See the table on
http://www.dune-project.org/doc/doxygen/dune-grid-html/class_dune_1_1_intersection.html#_details
boundary() only returns true on physical boundaries.
The ghost/overl[ap entity returned by outside has all the index/id
information you need to attach dat theret - so
you can do (almost) everything on that neighbor
Andreas
Hua wrote:
> Hi everyone:
>
> In 3d parallized cube mesh, a face (intersection) is on the "processorboundary" and it is shared by two processors i and j.
> then on processor i, if I run face.boundary() or face.neighbor(). Which one will return true?
>
> I thought face.neighbor() should return true, however the neighbor entity is not owned be processor i,
> but in processor j. i.e. face.outside() is on processor j. So I cannot do anything on this neighbor entity
> on processor i?
>
> If I understand correctly?
>
> Cheers
> Hua
>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
More information about the Dune
mailing list