dune-pdelab  2.0.0
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache > Class Template Reference

#include <dune/pdelab/backend/common/uncachedmatrixview.hh>

Inheritance diagram for Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >:
Inheritance graph

Public Types

typedef remove_const< M_ >::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

 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")
 
 ConstUncachedMatrixView ()
 
 ConstUncachedMatrixView (M_ &container)
 
const RowIndexCacherowIndexCache () const
 
const ColIndexCachecolIndexCache () const
 
void attach (M_ &container)
 
void detach ()
 
void bind (const RowCache &row_cache, const ColCache &col_cache)
 
void unbind ()
 
size_type N () const
 
size_type M () const
 
template<typename LC >
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

M_ * _container
 
const RowCache * _row_cache
 
const ColCache * _col_cache
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename M_, typename RowCache, typename ColCache>
Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::ConstUncachedMatrixView ( )
inline
template<typename M_, typename RowCache, typename ColCache>
Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::ConstUncachedMatrixView ( M_ &  container)
inline

Member Function Documentation

template<typename M_, typename RowCache, typename ColCache>
void Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::attach ( M_ &  container)
inline
template<typename M_, typename RowCache, typename ColCache>
void Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::bind ( const RowCache &  row_cache,
const ColCache &  col_cache 
)
inline
template<typename M_, typename RowCache, typename ColCache>
const ColIndexCache& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::colIndexCache ( ) const
inline
template<typename M_, typename RowCache, typename ColCache>
const Container& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::container ( ) const
inline
template<typename M_, typename RowCache, typename ColCache>
void Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::detach ( )
inline
template<typename M_, typename RowCache, typename ColCache>
Dune::PDELab::ConstUncachedMatrixView< M_, 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"   
)
template<typename M_, typename RowCache, typename ColCache>
Dune::PDELab::ConstUncachedMatrixView< M_, 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"   
)
template<typename M_, typename RowCache, typename ColCache>
size_type Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::M ( ) const
inline
template<typename M_, typename RowCache, typename ColCache>
size_type Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::N ( ) const
inline
template<typename M_, typename RowCache, typename ColCache>
const ElementType& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::operator() ( size_type  i,
size_type  j 
) const
inline
template<typename M_, typename RowCache, typename ColCache>
const ElementType& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::operator() ( const RowDOFIndex i,
const ColDOFIndex j 
) const
inline
template<typename M_, typename RowCache, typename ColCache>
const ElementType& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::operator() ( const RowContainerIndex i,
const ColContainerIndex j 
) const
inline
template<typename M_, typename RowCache, typename ColCache>
const ElementType& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::operator() ( const RowContainerIndex i,
size_type  j 
) const
inline
template<typename M_, typename RowCache, typename ColCache>
const ElementType& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::operator() ( size_type  i,
const ColContainerIndex j 
) const
inline
template<typename M_, typename RowCache, typename ColCache>
template<typename LC >
void Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::read ( LC &  local_container) const
inline
template<typename M_, typename RowCache, typename ColCache>
const RowIndexCache& Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::rowIndexCache ( ) const
inline
template<typename M_, typename RowCache, typename ColCache>
void Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::unbind ( )
inline

Member Data Documentation

template<typename M_, typename RowCache, typename ColCache>
const ColCache* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_col_cache
protected
template<typename M_, typename RowCache, typename ColCache>
M_* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_container
protected
template<typename M_, typename RowCache, typename ColCache>
const RowCache* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_row_cache
protected

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