dune-pdelab  2.0.0
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)
 
ElementTypeoperator() (const RowDOFIndex &i, const ColDOFIndex &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)
 
void add (const RowDOFIndex &i, const ColDOFIndex &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 ()
 
 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 (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::UncachedMatrixView< M_, RowCache, ColCache >::ColContainerIndex
template<typename M_, typename RowCache, typename ColCache>
typedef LFSU::Traits::DOFIndex Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::ColDOFIndex
template<typename M_, typename RowCache, typename ColCache>
typedef ColCache Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::ColIndexCache
template<typename M_, typename RowCache, typename ColCache>
typedef M_ Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::Container
template<typename M_, typename RowCache, typename ColCache>
typedef Container::field_type Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::E
inherited
template<typename M_, typename RowCache, typename ColCache>
typedef Container::ElementType Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::ElementType
template<typename M_, typename RowCache, typename ColCache>
typedef ColCache::LocalFunctionSpace Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::LFSU
template<typename M_, typename RowCache, typename ColCache>
typedef RowCache::LocalFunctionSpace Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::LFSV
template<typename M_, typename RowCache, typename ColCache>
typedef LFSV::Traits::GridFunctionSpace::Ordering::Traits::ContainerIndex Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::RowContainerIndex
template<typename M_, typename RowCache, typename ColCache>
typedef LFSV::Traits::DOFIndex Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::RowDOFIndex
template<typename M_, typename RowCache, typename ColCache>
typedef RowCache Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::RowIndexCache
template<typename M_, typename RowCache, typename ColCache>
typedef Container::size_type Dune::PDELab::UncachedMatrixView< M_, RowCache, ColCache >::size_type

Constructor & Destructor Documentation

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

Member Function Documentation

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

template<typename M_, typename RowCache, typename ColCache>
const ColCache* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_col_cache
protectedinherited
template<typename M_, typename RowCache, typename ColCache>
M_* Dune::PDELab::ConstUncachedMatrixView< M_, RowCache, ColCache >::_container
protectedinherited
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: