dune-pdelab  2.7-git
Classes | Public Types | Public Member Functions | List of all members
Dune::PDELab::BorderIndexIdCache< GFS > Struct Template Reference

#include <dune/pdelab/common/borderindexidcache.hh>

Inheritance diagram for Dune::PDELab::BorderIndexIdCache< GFS >:
Inheritance graph

Classes

struct  EntityIndex
 

Public Types

typedef GFS GridFunctionSpace
 
using EntitySet = typename GridFunctionSpace::Traits::EntitySet
 
typedef GFS::Traits::GridView GridView
 
typedef GridView::Grid Grid
 
typedef std::size_t size_type
 
using index_type = typename EntitySet::Traits::Index
 
typedef GFS::Traits::GridView::Grid::GlobalIdSet::IdType id_type
 
typedef std::vector< std::vector< bool > > BorderEntitySet
 
typedef std::vector< std::unordered_map< index_type, id_type > > IndexToIdMap
 
typedef std::unordered_map< id_type, EntityIndexIdToIndexMap
 

Public Member Functions

 BorderIndexIdCache (const GFS &gfs)
 
void update ()
 
bool isBorderEntity (std::size_t gt_index, std::size_t entity_index) const
 
id_type id (std::size_t gt_index, index_type entity_index) const
 
EntityIndex index (id_type entity_id) const
 
std::pair< bool, EntityIndexfindIndex (id_type entity_id) const
 

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