dune-pdelab
2.7-git
|
#include <dune/pdelab/common/borderindexidcache.hh>
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, EntityIndex > | IdToIndexMap |
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, EntityIndex > | findIndex (id_type entity_id) const |