Dune::cpgrid::GlobalIdSet Class Reference

The global id set for Dune. More...

#include <Indexsets.hpp>

Public Types

using IdType = typename LevelGlobalIdSet::IdType
 The type of the id. More...
 

Public Member Functions

 GlobalIdSet (const CpGridData &view)
 
template<int codim>
IdType id (const Entity< codim > &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
 
void insertIdSet (const CpGridData &view)
 

Detailed Description

The global id set for Dune.

You can pass it any entity of either the loadbalanced or global grid that is stored on this process.

Member Typedef Documentation

◆ IdType

The type of the id.

Constructor & Destructor Documentation

◆ GlobalIdSet()

Dune::cpgrid::GlobalIdSet::GlobalIdSet ( const CpGridData view)

Member Function Documentation

◆ id()

template<int codim>
IdType Dune::cpgrid::GlobalIdSet::id ( const Entity< codim > &  e) const
inline

◆ insertIdSet()

void Dune::cpgrid::GlobalIdSet::insertIdSet ( const CpGridData view)

◆ subId() [1/2]

template<int cc>
IdType Dune::cpgrid::GlobalIdSet::subId ( const cpgrid::Entity< 0 > &  e,
int  i 
) const
inline

◆ subId() [2/2]

IdType Dune::cpgrid::GlobalIdSet::subId ( const cpgrid::Entity< 0 > &  e,
int  i,
int  cc 
) const

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