[Dune] processor boundaries on nonoverlapping grids
Bernd Flemisch
bernd at iws.uni-stuttgart.de
Mon May 16 18:19:23 CEST 2011
Hey Alex,
you can ask an entity for its PartitionType, see
http://www.dune-project.org/doc/doxygen/dune-grid-html/group___g_i_related_types.html#gbd89b77709db1d9e56bb17cd0aa44c3d
and
http://www.dune-project.org/doc/doxygen/dune-grid-html/class_dune_1_1_entity.html#a359da1ebacea2d961f2ceb74250aebe
So for the entity in question just ask something like
if (entity.partitionType() == Dune::GhostEntity)
Kind regards
Bernd
On 05/16/2011 06:03 PM, Alexander Schlaich wrote:
> Dear Dune,
>
> I need to detect the elements in my parallel UG grid which are on
> processor boundaries.
>
> I read the documentation for the intersection():
> http://www.dune-project.org/doc/doxygen/html/classDune_1_1Intersection.html
>
> As I understand this method does not offer me the possibility of
> detecting processor boundaries for ghost elements as I can't decide
> wether they are ghosts or neighbours.
>
> Is there a way of detecting the ghost elements? Am I reading the
> documentation in a wrong way?
>
>
> Thanks a lot for your anwers,
>
> Alex
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
--
_____________________________________________________________________
Bernd Flemisch phone: +49 711 685 69162
IWS, Universität Stuttgart fax: +49 711 685 60430
Pfaffenwaldring 61 email: bernd at iws.uni-stuttgart.de
D-70569 Stuttgart url: www.hydrosys.uni-stuttgart.de
_____________________________________________________________________
More information about the Dune
mailing list