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

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

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

Public Types

typedef std::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
 
using value_type = ElementType
 
using weight_type = ElementType
 

Public Member Functions

 ConstAliasedMatrixView ()
 
 ConstAliasedMatrixView (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
 
template<typename LFSV , typename LFSU >
const ElementTypeoperator() (const LFSV &lfsv, size_type i, const LFSU &lfsu, size_type j) const
 
const Containercontainer () const
 

Protected Attributes

M_ * _container
 
const RowCache * _row_cache
 
const ColCache * _col_cache
 
std::conditional< std::is_const< M_ >::value, const ElementType *, ElementType * >::type _data
 

Member Typedef Documentation

◆ ColContainerIndex

template<typename M_ , typename RowCache , typename ColCache >
typedef LFSU::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::ColContainerIndex

◆ ColDOFIndex

template<typename M_ , typename RowCache , typename ColCache >
typedef LFSU::Traits::DOFIndex Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::ColDOFIndex

◆ ColIndexCache

template<typename M_ , typename RowCache , typename ColCache >
typedef ColCache Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::ColIndexCache

◆ Container

template<typename M_ , typename RowCache , typename ColCache >
typedef std::remove_const<M_>::type Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::Container

◆ E

template<typename M_ , typename RowCache , typename ColCache >
typedef Container::field_type Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::E

◆ ElementType

template<typename M_ , typename RowCache , typename ColCache >
typedef E Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::ElementType

◆ LFSU

template<typename M_ , typename RowCache , typename ColCache >
typedef ColCache::LocalFunctionSpace Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::LFSU

◆ LFSV

template<typename M_ , typename RowCache , typename ColCache >
typedef RowCache::LocalFunctionSpace Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::LFSV

◆ RowContainerIndex

template<typename M_ , typename RowCache , typename ColCache >
typedef LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::RowContainerIndex

◆ RowDOFIndex

template<typename M_ , typename RowCache , typename ColCache >
typedef LFSV::Traits::DOFIndex Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::RowDOFIndex

◆ RowIndexCache

template<typename M_ , typename RowCache , typename ColCache >
typedef RowCache Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::RowIndexCache

◆ size_type

template<typename M_ , typename RowCache , typename ColCache >
typedef Container::size_type Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::size_type

◆ value_type

template<typename M_ , typename RowCache , typename ColCache >
using Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::value_type = ElementType

◆ weight_type

template<typename M_ , typename RowCache , typename ColCache >
using Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::weight_type = ElementType

Constructor & Destructor Documentation

◆ ConstAliasedMatrixView() [1/2]

template<typename M_ , typename RowCache , typename ColCache >
Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::ConstAliasedMatrixView ( )
inline

◆ ConstAliasedMatrixView() [2/2]

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

Member Function Documentation

◆ attach()

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

◆ bind()

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::bind ( const RowCache &  row_cache,
const ColCache &  col_cache 
)
inline

◆ colIndexCache()

template<typename M_ , typename RowCache , typename ColCache >
const ColIndexCache& Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::colIndexCache ( ) const
inline

◆ container()

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

◆ detach()

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::detach ( )
inline

◆ M()

template<typename M_ , typename RowCache , typename ColCache >
size_type Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::M ( ) const
inline

◆ N()

template<typename M_ , typename RowCache , typename ColCache >
size_type Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::N ( ) const
inline

◆ operator()() [1/4]

template<typename M_ , typename RowCache , typename ColCache >
template<typename LFSV , typename LFSU >
const ElementType& Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::operator() ( const LFSV lfsv,
size_type  i,
const LFSU lfsu,
size_type  j 
) const
inline

◆ operator()() [2/4]

template<typename M_ , typename RowCache , typename ColCache >
const ElementType& Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::operator() ( const RowContainerIndex i,
const ColContainerIndex j 
) const
inline

◆ operator()() [3/4]

template<typename M_ , typename RowCache , typename ColCache >
const ElementType& Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::operator() ( const RowDOFIndex i,
const ColDOFIndex j 
) const
inline

◆ operator()() [4/4]

template<typename M_ , typename RowCache , typename ColCache >
const ElementType& Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::operator() ( size_type  i,
size_type  j 
) const
inline

◆ read()

template<typename M_ , typename RowCache , typename ColCache >
template<typename LC >
void Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::read ( LC &  local_container) const
inline

◆ rowIndexCache()

template<typename M_ , typename RowCache , typename ColCache >
const RowIndexCache& Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::rowIndexCache ( ) const
inline

◆ unbind()

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::unbind ( )
inline

Member Data Documentation

◆ _col_cache

template<typename M_ , typename RowCache , typename ColCache >
const ColCache* Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::_col_cache
protected

◆ _container

template<typename M_ , typename RowCache , typename ColCache >
M_* Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::_container
protected

◆ _data

template<typename M_ , typename RowCache , typename ColCache >
std::conditional< std::is_const<M_>::value, const ElementType*, ElementType* >::type Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::_data
protected

◆ _row_cache

template<typename M_ , typename RowCache , typename ColCache >
const RowCache* Dune::PDELab::ConstAliasedMatrixView< M_, RowCache, ColCache >::_row_cache
protected

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