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

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

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

Public Types

typedef M_ Container
 
typedef Container::ElementType ElementType
 
typedef Container::size_type size_type
 
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
 
typedef Container::field_type E
 

Public Member Functions

 UncachedMatrixView ()
 
 UncachedMatrixView (Container &container)
 
void commit ()
 
template<typename LC >
void write (const LC &local_container)
 
template<typename LC >
void add (const LC &local_container)
 
ElementTypeoperator() (size_type i, size_type j)
 
template<typename RDI , typename CDI >
std::enable_if_t<(std::is_same< RDI, RowDOFIndex >{} and std::is_same< CDI, ColDOFIndex >{} and not(std::is_same< RDI, RowContainerIndex >{} and std::is_same< CDI, ColContainerIndex >{})), const ElementType & > operator() (const RDI &i, const CDI &j)
 
ElementTypeoperator() (const RowContainerIndex &i, const ColContainerIndex &j)
 
ElementTypeoperator() (const RowContainerIndex &i, size_type j)
 
ElementTypeoperator() (size_type i, const ColContainerIndex &j)
 
void add (size_type i, size_type j, const ElementType &v)
 
template<typename RDI , typename CDI >
std::enable_if_t<(std::is_same< RDI, RowDOFIndex >{} and std::is_same< CDI, ColDOFIndex >{} and not(std::is_same< RDI, RowContainerIndex >{} and std::is_same< CDI, ColContainerIndex >{})) > add (const RDI &i, const CDI &j, const ElementType &v)
 
void add (const RowContainerIndex &i, const ColContainerIndex &j, const ElementType &v)
 
void add (const RowContainerIndex &i, size_type j, const ElementType &v)
 
void add (size_type i, const ColContainerIndex &j, const ElementType &v)
 
Containercontainer ()
 
const RowIndexCacherowIndexCache () const
 
const ColIndexCachecolIndexCache () const
 
size_type N () const
 
size_type M () const
 
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
 
template<typename RDI , typename CDI >
std::enable_if_t<(std::is_same< RDI, RowDOFIndex >{} and std::is_same< CDI, ColDOFIndex >{} and not(std::is_same< RDI, RowContainerIndex >{} and std::is_same< CDI, ColContainerIndex >{})), const ElementType & > operator() (const RDI &i, const CDI &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

◆ ColContainerIndex

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

◆ ColDOFIndex

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

◆ ColIndexCache

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

◆ Container

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

◆ E

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

◆ ElementType

template<typename M_ , typename RowCache , typename ColCache >
typedef Container::ElementType Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::ElementType

◆ LFSU

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

◆ LFSV

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

◆ RowContainerIndex

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

◆ RowDOFIndex

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

◆ RowIndexCache

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

◆ size_type

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

Constructor & Destructor Documentation

◆ UncachedMatrixView() [1/2]

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

◆ UncachedMatrixView() [2/2]

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

Member Function Documentation

◆ add() [1/6]

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

◆ add() [2/6]

template<typename M_ , typename RowCache , typename ColCache >
template<typename RDI , typename CDI >
std::enable_if_t< (std::is_same<RDI,RowDOFIndex>{} and std::is_same<CDI,ColDOFIndex>{} and not (std::is_same<RDI,RowContainerIndex>{} and std::is_same<CDI,ColContainerIndex>{})) > Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::add ( const RDI &  i,
const CDI &  j,
const ElementType v 
)
inline

◆ add() [3/6]

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::add ( const RowContainerIndex i,
const ColContainerIndex j,
const ElementType v 
)
inline

◆ add() [4/6]

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::add ( const RowContainerIndex i,
size_type  j,
const ElementType v 
)
inline

◆ add() [5/6]

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::add ( size_type  i,
const ColContainerIndex j,
const ElementType v 
)
inline

◆ add() [6/6]

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::add ( size_type  i,
size_type  j,
const ElementType v 
)
inline

◆ attach()

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

◆ bind()

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

◆ colIndexCache() [1/2]

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

◆ colIndexCache() [2/2]

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

◆ commit()

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::commit ( )
inline

◆ container() [1/2]

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

◆ container() [2/2]

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

◆ detach()

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::detach ( )
inlineinherited

◆ M() [1/2]

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

◆ M() [2/2]

template<typename M_ , typename RowCache , typename ColCache >
size_type Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::M
inline

◆ N() [1/2]

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

◆ N() [2/2]

template<typename M_ , typename RowCache , typename ColCache >
size_type Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::N
inline

◆ operator()() [1/10]

template<typename M_ , typename RowCache , typename ColCache >
template<typename RDI , typename CDI >
std::enable_if_t< (std::is_same<RDI,RowDOFIndex>{} and std::is_same<CDI,ColDOFIndex>{} and not (std::is_same<RDI,RowContainerIndex>{} and std::is_same<CDI,ColContainerIndex>{})), const ElementType& > Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::operator() ( const RDI &  i,
const CDI &  j 
)
inline

◆ operator()() [2/10]

template<typename M_ , typename RowCache , typename ColCache >
template<typename RDI , typename CDI >
std::enable_if_t< (std::is_same<RDI,RowDOFIndex>{} and std::is_same<CDI,ColDOFIndex>{} and not (std::is_same<RDI,RowContainerIndex>{} and std::is_same<CDI,ColContainerIndex>{})), const ElementType& > Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::operator() ( const RDI &  i,
const CDI &  j 
) const
inlineinherited

◆ operator()() [3/10]

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

◆ operator()() [4/10]

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

◆ operator()() [5/10]

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

◆ operator()() [6/10]

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

◆ operator()() [7/10]

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

◆ operator()() [8/10]

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

◆ operator()() [9/10]

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

◆ operator()() [10/10]

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

◆ read()

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

◆ rowIndexCache() [1/2]

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

◆ rowIndexCache() [2/2]

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

◆ unbind()

template<typename M_ , typename RowCache , typename ColCache >
void Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::unbind ( )
inlineinherited

◆ write()

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

Member Data Documentation

◆ _col_cache

template<typename M_ , typename RowCache , typename ColCache >
const ColCache* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_col_cache
protectedinherited

◆ _container

template<typename M_ , typename RowCache , typename ColCache >
M_* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_container
protectedinherited

◆ _row_cache

template<typename M_ , typename RowCache , typename ColCache >
const RowCache* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_row_cache
protectedinherited

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