dune-pdelab
2.0.0
|
#include <dune/pdelab/common/borderindexidcache.hh>
Classes | |
struct | EntityIndex |
Public Types | |
typedef GFS | GridFunctionSpace |
typedef GFS::Traits::GridView | GridView |
typedef GridView::Grid | Grid |
typedef std::size_t | size_type |
typedef GFS::Traits::GridView::IndexSet::IndexType | index_type |
typedef GFS::Traits::GridView::Grid::GlobalIdSet::IdType | id_type |
typedef std::vector < std::vector< bool > > | BorderEntitySet |
typedef std::vector < unordered_map< index_type, id_type > > | IndexToIdMap |
typedef 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 |