dune-pdelab  2.7-git
Public Types | Public Member Functions | List of all members
Dune::PDELab::NonOverlappingBorderDOFExchanger< GridOperator >::CommunicationCache Class Reference

#include <dune/pdelab/gridoperator/common/borderdofexchanger.hh>

Inheritance diagram for Dune::PDELab::NonOverlappingBorderDOFExchanger< GridOperator >::CommunicationCache:
Inheritance graph

Public Types

typedef IdType EntityID
 
typedef GFSU::Ordering::Traits::DOFIndex::TreeIndex ColumnTreeIndex
 
typedef std::size_t size_type
 
typedef GFSV GridFunctionSpace
 
using EntitySet = typename GridFunctionSpace::Traits::EntitySet
 
typedef GFSV ::Traits::GridView GridView
 
typedef GridView::Grid Grid
 
using index_type = typename EntitySet::Traits::Index
 
typedef GFSV ::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

 CommunicationCache (const GridOperator &go)
 
bool initialized () const
 
void finishInitialization ()
 
void update ()
 
const BorderPatternpattern () const
 
template<typename LFSVCache , typename LFSUCache , typename LocalPattern >
void addEntries (const LFSVCache &lfsv_cache, const LFSUCache &lfsu_cache, const LocalPattern &pattern)
 
template<typename Entity >
size_type size (const Entity &e) const
 
template<typename Buffer , typename Entity >
void gather_pattern (Buffer &buf, const Entity &e) const
 
template<typename Buffer , typename Entity >
void gather_data (Buffer &buf, const Entity &e, const M &matrix) const
 
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
 

Member Typedef Documentation

◆ BorderEntitySet

typedef std::vector< std::vector< bool > > Dune::PDELab::BorderIndexIdCache< GFSV >::BorderEntitySet
inherited

◆ EntitySet

◆ Grid

typedef GridView::Grid Dune::PDELab::BorderIndexIdCache< GFSV >::Grid
inherited

◆ GridFunctionSpace

typedef GFSV Dune::PDELab::BorderIndexIdCache< GFSV >::GridFunctionSpace
inherited

◆ GridView

typedef GFSV ::Traits::GridView Dune::PDELab::BorderIndexIdCache< GFSV >::GridView
inherited

◆ id_type

typedef GFSV ::Traits::GridView::Grid::GlobalIdSet::IdType Dune::PDELab::BorderIndexIdCache< GFSV >::id_type
inherited

◆ IdToIndexMap

typedef std::unordered_map< id_type, EntityIndex > Dune::PDELab::BorderIndexIdCache< GFSV >::IdToIndexMap
inherited

◆ index_type

using Dune::PDELab::BorderIndexIdCache< GFSV >::index_type = typename EntitySet::Traits::Index
inherited

◆ IndexToIdMap

typedef std::vector< std::unordered_map< index_type, id_type > > Dune::PDELab::BorderIndexIdCache< GFSV >::IndexToIdMap
inherited

Member Function Documentation

◆ findIndex()

std::pair<bool,EntityIndex> Dune::PDELab::BorderIndexIdCache< GFSV >::findIndex ( id_type  entity_id) const
inlineinherited

◆ id()

id_type Dune::PDELab::BorderIndexIdCache< GFSV >::id ( std::size_t  gt_index,
index_type  entity_index 
) const
inlineinherited

◆ index()

EntityIndex Dune::PDELab::BorderIndexIdCache< GFSV >::index ( id_type  entity_id) const
inlineinherited

◆ isBorderEntity()

bool Dune::PDELab::BorderIndexIdCache< GFSV >::isBorderEntity ( std::size_t  gt_index,
std::size_t  entity_index 
) const
inlineinherited

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