[Dune] Dune::IdSet

Oliver Sander sander at mi.fu-berlin.de
Mon Feb 15 12:15:40 CET 2010


Hi Hua!
Global ids are unique across all processors.  Local ids are unique
only on each processor.  Hence you may have two entities on two
different processors with the same local id.  If your programm runs
on a single processor there is no difference.

best,
Oliver

Guo Hua schrieb:
> Hi everyone
>
> I feel confused when reading the explanations of these two functions
> in the class Dune::Grid< dim, dimworld, ct, GridFamily >.
>
> const Codim< 0 >::GlobalIdSet & globalIdSet () const
>  	return const reference to the grids global id set
>
> const Codim< 0 >::LocalIdSet & localIdSet () const
>  	return const reference to the grids local id set 
>
> Would you mind to make it more clear? Especially the differences of two.
> Thanks a lot!
>
> Cheers,
> Hua
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>   


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





More information about the Dune mailing list