dune-pdelab  2.0.0
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ISTLMatrixContainer< GFSV, GFSU, C, Stats >::ConstLocalView< RowCache, ColCache > Struct Template Reference

#include <dune/pdelab/backend/istlmatrixbackend.hh>

Inheritance diagram for Dune::PDELab::ISTLMatrixContainer< GFSV, GFSU, C, Stats >::ConstLocalView< RowCache, ColCache >:
Inheritance graph

Public Types

typedef remove_const< const
ISTLMatrixContainer >::type 
Container
 
typedef Container::field_type E
 
typedef Container::size_type size_type
 
typedef E ElementType
 
typedef RowCache RowIndexCache
 
typedef ColCache ColIndexCache
 
typedef
RowCache::LocalFunctionSpace 
LFSV
 
typedef
ColCache::LocalFunctionSpace 
LFSU
 
typedef LFSV::Traits::DOFIndex RowDOFIndex
 
typedef
LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex 
RowContainerIndex
 
typedef LFSU::Traits::DOFIndex ColDOFIndex
 
typedef
LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex 
ColContainerIndex
 

Public Member Functions

 ConstLocalView ()
 
 ConstLocalView (const ISTLMatrixContainer &mc)
 
 dune_static_assert ((is_same< typename RowCache::LocalFunctionSpace::Traits::GridFunctionSpace, typename Container::TestGridFunctionSpace >::value),"The RowCache passed to LocalView must belong to the underlying GFSV")
 
 dune_static_assert ((is_same< typename ColCache::LocalFunctionSpace::Traits::GridFunctionSpace, typename Container::TrialGridFunctionSpace >::value),"The ColCache passed to LocalView must belong to the underlying GFSU")
 
const RowIndexCacherowIndexCache () const
 
const ColIndexCachecolIndexCache () const
 
void attach (const ISTLMatrixContainer &container)
 
void detach ()
 
void bind (const RowCache &row_cache, const ColCache &col_cache)
 
void unbind ()
 
size_type N () const
 
size_type M () const
 
void read (LC &local_container) const
 
const ElementTypeoperator() (size_type i, size_type j) const
 
const ElementTypeoperator() (const RowDOFIndex &i, const ColDOFIndex &j) const
 
const ElementTypeoperator() (const RowContainerIndex &i, const ColContainerIndex &j) const
 
const ElementTypeoperator() (const RowContainerIndex &i, size_type j) const
 
const ElementTypeoperator() (size_type i, const ColContainerIndex &j) const
 
const Containercontainer () const
 

Protected Attributes

const ISTLMatrixContainer_container
 
const RowCache * _row_cache
 
const ColCache * _col_cache
 

Member Typedef Documentation

typedef LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::ColContainerIndex
inherited
typedef LFSU::Traits::DOFIndex Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::ColDOFIndex
inherited
typedef ColCache Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::ColIndexCache
inherited
typedef remove_const<const ISTLMatrixContainer >::type Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::Container
inherited
typedef Container::field_type Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::E
inherited
typedef E Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::ElementType
inherited
typedef ColCache::LocalFunctionSpace Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::LFSU
inherited
typedef RowCache::LocalFunctionSpace Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::LFSV
inherited
typedef LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::RowContainerIndex
inherited
typedef LFSV::Traits::DOFIndex Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::RowDOFIndex
inherited
typedef RowCache Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::RowIndexCache
inherited
typedef Container::size_type Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::size_type
inherited

Constructor & Destructor Documentation

template<typename GFSV , typename GFSU , typename C , typename Stats >
template<typename RowCache , typename ColCache >
Dune::PDELab::ISTLMatrixContainer< GFSV, GFSU, C, Stats >::ConstLocalView< RowCache, ColCache >::ConstLocalView ( )
inline
template<typename GFSV , typename GFSU , typename C , typename Stats >
template<typename RowCache , typename ColCache >
Dune::PDELab::ISTLMatrixContainer< GFSV, GFSU, C, Stats >::ConstLocalView< RowCache, ColCache >::ConstLocalView ( const ISTLMatrixContainer mc)
inline

Member Function Documentation

void Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::attach ( const ISTLMatrixContainer container)
inlineinherited
void Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::bind ( const RowCache &  row_cache,
const ColCache &  col_cache 
)
inlineinherited
const ColIndexCache& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::colIndexCache ( ) const
inlineinherited
const Container& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::container ( ) const
inlineinherited
void Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::detach ( )
inlineinherited
Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::dune_static_assert ( (is_same< typename RowCache::LocalFunctionSpace::Traits::GridFunctionSpace,typename Container::TestGridFunctionSpace >::value ,
"The RowCache passed to LocalView must belong to the underlying GFSV"   
)
inherited
Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::dune_static_assert ( (is_same< typename ColCache::LocalFunctionSpace::Traits::GridFunctionSpace,typename Container::TrialGridFunctionSpace >::value ,
"The ColCache passed to LocalView must belong to the underlying GFSU"   
)
inherited
size_type Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::M ( ) const
inlineinherited
size_type Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::N ( ) const
inlineinherited
const ElementType& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::operator() ( size_type  i,
size_type  j 
) const
inlineinherited
const ElementType& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::operator() ( const RowDOFIndex i,
const ColDOFIndex j 
) const
inlineinherited
const ElementType& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::operator() ( const RowContainerIndex i,
const ColContainerIndex j 
) const
inlineinherited
const ElementType& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::operator() ( const RowContainerIndex i,
size_type  j 
) const
inlineinherited
const ElementType& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::operator() ( size_type  i,
const ColContainerIndex j 
) const
inlineinherited
void Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::read ( LC &  local_container) const
inlineinherited
const RowIndexCache& Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::rowIndexCache ( ) const
inlineinherited
void Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::unbind ( )
inlineinherited

Member Data Documentation

const ColCache* Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::_col_cache
protectedinherited
const ISTLMatrixContainer * Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::_container
protectedinherited
const RowCache* Dune::PDELab::ConstUncachedMatrixView< const ISTLMatrixContainer , RowCache, ColCache >::_row_cache
protectedinherited

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