[Dune] How to get a unique index?

Oliver Sander sander at mi.fu-berlin.de
Thu Jan 25 17:40:37 CET 2007


Hi Patrick!
That's what the GlobalIdSet is good for.  It has a method id() which
takes an Entity of arbitrary codim as its argument.  The return type
is an implementation-dependent type which you can get from the class.

--
Oliver

************************************************************************
* Oliver Sander                ** email: sander at mi.fu-berlin.de        *
* Freie Universität Berlin     ** phone: + 49 (30) 838 75217           *
* Institut für Mathematik II   ** URL  : page.mi.fu-berlin.de/~sander  *
* Arnimallee 6                 ** -------------------------------------*
* 14195 Berlin, Germany        ** Member of MATHEON (www.matheon.de)   *
************************************************************************

On Thu, 25 Jan 2007, Patrick Leidenberger wrote:

> Hi all,
>
> can anybody tell me how to get a global unique index (integer) for an
> entity of arbitrary codim in a distributed ALUGrid?
>
> Thanks a lot, regards
>
> Patrick
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://www.dune-project.org/cgi-bin/mailman/listinfo/dune
>


More information about the Dune mailing list