dune-mmesh 1.4.1-git
Loading...
Searching...
No Matches
Dune::MMeshInterfaceGridGlobalIdSet< GridImp > Class Template Reference

#include <dune/mmesh/interface/indexsets.hh>

Inheritance diagram for Dune::MMeshInterfaceGridGlobalIdSet< GridImp >:
Inheritance graph

Public Types

using IdType = MMeshImpl::MultiId
 define the type used for persistent indices
 

Public Member Functions

 MMeshInterfaceGridGlobalIdSet (const GridImp *g)
 constructor stores reference to a grid
 
template<int cd>
IdType id (const typename std::remove_const< GridImp >::type::Traits::template Codim< cd >::Entity &e) const
 get id of an entity
 
IdType id (const typename std::remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e) const
 
template<int d = dimension>
std::enable_if_t< d==2, IdTypeid (const typename std::remove_const< GridImp >::type::Traits::template Codim< 1 >::Entity &e) const
 
template<int cd>
IdType id (const typename std::remove_const< GridImp >::type::MMeshType::Traits::template Codim< cd >::Entity &e) const
 Helper function to obtian id of MMesh codim 1 entity.
 
template<int d = dimensionworld>
std::enable_if_t< d==3, IdTypeid (const typename std::remove_const< GridImp >::type::template MMeshInterfaceEntity< 1 > &host) const
 
IdType id (const typename std::remove_const< GridImp >::type::Traits::template Codim< dimension >::Entity &e) const
 
IdType subId (const typename std::remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity &e, int i, int codim) const
 get id of subEntity
 
void update (const GridImp *grid)
 update id set
 
IdType id (const Entity &e) const
 
IdType id (const typename Codim< cc >::Entity &e) const
 
IdType subId (const typename Codim< 0 >::Entity &e, int i, unsigned int codim) const
 

Member Typedef Documentation

◆ IdType

template<class GridImp >
using Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::IdType = MMeshImpl::MultiId

define the type used for persistent indices

Constructor & Destructor Documentation

◆ MMeshInterfaceGridGlobalIdSet()

template<class GridImp >
Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::MMeshInterfaceGridGlobalIdSet ( const GridImp *  g)
inline

constructor stores reference to a grid

Member Function Documentation

◆ id() [1/6]

template<class GridImp >
template<int cd>
IdType Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::id ( const typename std::remove_const< GridImp >::type::MMeshType::Traits::template Codim< cd >::Entity e) const
inline

Helper function to obtian id of MMesh codim 1 entity.

◆ id() [2/6]

template<class GridImp >
template<int d = dimensionworld>
std::enable_if_t< d==3, IdType > Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::id ( const typename std::remove_const< GridImp >::type::template MMeshInterfaceEntity< 1 > &  host) const
inline

◆ id() [3/6]

template<class GridImp >
IdType Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::id ( const typename std::remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity e) const
inline

◆ id() [4/6]

template<class GridImp >
template<int d = dimension>
std::enable_if_t< d==2, IdType > Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::id ( const typename std::remove_const< GridImp >::type::Traits::template Codim< 1 >::Entity e) const
inline

◆ id() [5/6]

template<class GridImp >
template<int cd>
IdType Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::id ( const typename std::remove_const< GridImp >::type::Traits::template Codim< cd >::Entity e) const
inline

get id of an entity

◆ id() [6/6]

template<class GridImp >
IdType Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::id ( const typename std::remove_const< GridImp >::type::Traits::template Codim< dimension >::Entity e) const
inline

◆ subId()

template<class GridImp >
IdType Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::subId ( const typename std::remove_const< GridImp >::type::Traits::template Codim< 0 >::Entity e,
int  i,
int  codim 
) const
inline

get id of subEntity

◆ update()

template<class GridImp >
void Dune::MMeshInterfaceGridGlobalIdSet< GridImp >::update ( const GridImp *  grid)
inline

update id set


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