dune-pdelab  2.0.0
Public Types | Public Member Functions | Friends | 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
 
typedef GFSV::Traits::GridView GridView
 
typedef GridView::Grid Grid
 
typedef
GFSV::Traits::GridView::IndexSet::IndexType 
index_type
 
typedef
GFSV::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

 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
 

Friends

class NonOverlappingBorderDOFExchanger
 

Member Typedef Documentation

typedef std::vector< std::vector< bool > > Dune::PDELab::BorderIndexIdCache< GFSV >::BorderEntitySet
inherited
typedef GridView::Grid Dune::PDELab::BorderIndexIdCache< GFSV >::Grid
inherited
typedef GFSV Dune::PDELab::BorderIndexIdCache< GFSV >::GridFunctionSpace
inherited
typedef GFSV ::Traits::GridView Dune::PDELab::BorderIndexIdCache< GFSV >::GridView
inherited
typedef GFSV ::Traits::GridView::Grid::GlobalIdSet::IdType Dune::PDELab::BorderIndexIdCache< GFSV >::id_type
inherited
typedef unordered_map< id_type, EntityIndex > Dune::PDELab::BorderIndexIdCache< GFSV >::IdToIndexMap
inherited
typedef GFSV ::Traits::GridView::IndexSet::IndexType Dune::PDELab::BorderIndexIdCache< GFSV >::index_type
inherited
typedef std::vector< unordered_map< index_type, id_type > > Dune::PDELab::BorderIndexIdCache< GFSV >::IndexToIdMap
inherited

Member Function Documentation

std::pair<bool,EntityIndex> Dune::PDELab::BorderIndexIdCache< GFSV >::findIndex ( id_type  entity_id) const
inlineinherited
id_type Dune::PDELab::BorderIndexIdCache< GFSV >::id ( std::size_t  gt_index,
index_type  entity_index 
) const
inlineinherited
EntityIndex Dune::PDELab::BorderIndexIdCache< GFSV >::index ( id_type  entity_id) const
inlineinherited
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: