dune-grid 2.9.0
Classes | Namespaces
globalindexset.hh File Reference

Provides a globally unique index for all entities of a distributed Dune grid. More...

#include <vector>
#include <iostream>
#include <fstream>
#include <memory>
#include <map>
#include <utility>
#include <algorithm>
#include <dune/grid/common/gridenums.hh>
#include <dune/grid/common/datahandleif.hh>
#include <dune/common/parallel/mpihelper.hh>

Go to the source code of this file.

Classes

class  Dune::GlobalIndexSet< GridView >
 Calculate globally unique index over all processes in a Dune grid. More...
 
struct  Dune::GlobalIndexSet< GridView >::SubPartitionTypeProvider< Entity, Codim >
 Helper class to provide access to subentity PartitionTypes with a run-time codimension. More...
 
struct  Dune::GlobalIndexSet< GridView >::SubPartitionTypeProvider< Entity, 0 >
 

Namespaces

namespace  Dune
 Include standard header files.
 

Detailed Description

Provides a globally unique index for all entities of a distributed Dune grid.

Such functionality is relevant for a number of applications:

Method: (1) The UniqueEntityPartition class assigns an owner process to each entity

    (2) Compute the number of entities that are owned by each process

    (3) we communicate the index of entities that are owned by the process to processes
        that also contain these entities but do not own them, so that on a non-owner process
        we have information on the index of the entity that it got from the owner-process;
Author
Benedikt Oswald, Patrick Leidenberger, Oliver Sander
Attention
globally unique indices are ONLY provided for entities of the InteriorBorder_Partition type, NOT for the Ghost_Partition type !!!
Bug:
This code will most likely not work on grids with more than one element type. Please ask on the mailing list if you need this feature.
Note
The interface in this file is experimental, and may change without prior notice.