All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
Dune::cpgrid::GlobalIdSet Class Reference
Inheritance diagram for Dune::cpgrid::GlobalIdSet:
Dune::cpgrid::GlobalIdMapping

Public Types

typedef int IdType
 

Public Member Functions

void swap (std::vector< int > &cellMapping, std::vector< int > &faceMapping, std::vector< int > &pointMapping)
 
 GlobalIdSet (const IdSet *ids)
 
template<class EntityType >
IdType id (const EntityType &e) const
 
template<int cc>
IdType subId (const cpgrid::Entity< 0 > &e, int i) const
 
IdType subId (const cpgrid::Entity< 0 > &e, int i, int cc) const
 
- Public Member Functions inherited from Dune::cpgrid::GlobalIdMapping
void swap (std::vector< int > &cellMapping, std::vector< int > &faceMapping, std::vector< int > &pointMapping)
 Swap data for initialization. More...
 
template<int codim>
std::vector< int > & getMapping ()
 Get the vector with the mappings for a codimension. More...
 
template<int codim>
const std::vector< int > & getMapping () const
 Get the vector with the mappings for a codimension. More...
 

Friends

class CpGridData
 

Additional Inherited Members

- Protected Attributes inherited from Dune::cpgrid::GlobalIdMapping
std::vector< int > cellMapping_
 A vector containing the global id of cell with index i at position i.
 
std::vector< int > faceMapping_
 A vector containing the global id of face with index i at position i.
 
std::vector< int > pointMapping_
 A vector containing the global id of point with index i at position i.
 

The documentation for this class was generated from the following file: