dune-pdelab  2.4.1
Public Types | Public Member Functions | List of all members
Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C > Class Template Reference

#include <dune/pdelab/backend/simple/matrix.hh>

Inheritance diagram for Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >:
Inheritance graph

Public Types

typedef C Container
 
typedef Container::value_type ElementType
 
typedef ElementType E
 
typedef ElementType field_type
 
typedef Container::size_type size_type
 
typedef GFSU TrialGridFunctionSpace
 
typedef GFSV TestGridFunctionSpace
 
typedef GFSV::Ordering::Traits::ContainerIndex RowIndex
 
typedef GFSU::Ordering::Traits::ContainerIndex ColIndex
 
template<typename RowCache , typename ColCache >
using LocalView = UncachedMatrixView< MatrixContainer, RowCache, ColCache >
 
template<typename RowCache , typename ColCache >
using ConstLocalView = ConstUncachedMatrixView< const MatrixContainer, RowCache, ColCache >
 

Public Member Functions

template<typename GO >
 MatrixContainer (const GO &go)
 
template<typename GO >
 MatrixContainer (const GO &go, const E &e)
 
 MatrixContainer (Backend::unattached_container=Backend::unattached_container())
 Creates an ISTLMatrixContainer without allocating an underlying ISTL matrix. More...
 
 MatrixContainer (Backend::attached_container)
 Creates an ISTLMatrixContainer with an empty underlying ISTL matrix. More...
 
 MatrixContainer (const MatrixContainer &rhs)
 
MatrixContaineroperator= (const MatrixContainer &rhs)
 
void detach ()
 
void attach (std::shared_ptr< Container > container)
 
bool attached () const
 
const std::shared_ptr< Container > & storage () const
 
size_type N () const
 
size_type M () const
 
MatrixContaineroperator= (const E &e)
 
MatrixContaineroperator*= (const E &e)
 
template<typename V >
void mv (const V &x, V &y) const
 
template<typename V >
void usmv (const E alpha, const V &x, V &y) const
 
Eoperator() (const RowIndex &ri, const ColIndex &ci)
 
const Eoperator() (const RowIndex &ri, const ColIndex &ci) const
 
const Containerbase () const
 
Containerbase ()
 
void flush ()
 
void finalize ()
 
void clear_row (const RowIndex &ri, const E &diagonal_entry)
 

Member Typedef Documentation

template<typename GFSV , typename GFSU , typename C >
typedef GFSU::Ordering::Traits::ContainerIndex Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::ColIndex
template<typename GFSV , typename GFSU , typename C >
template<typename RowCache , typename ColCache >
using Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::ConstLocalView = ConstUncachedMatrixView<const MatrixContainer,RowCache,ColCache>
template<typename GFSV , typename GFSU , typename C >
typedef C Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::Container
template<typename GFSV , typename GFSU , typename C >
typedef ElementType Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::E
template<typename GFSV , typename GFSU , typename C >
typedef Container::value_type Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::ElementType
template<typename GFSV , typename GFSU , typename C >
typedef ElementType Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::field_type
template<typename GFSV , typename GFSU , typename C >
template<typename RowCache , typename ColCache >
using Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::LocalView = UncachedMatrixView<MatrixContainer,RowCache,ColCache>
template<typename GFSV , typename GFSU , typename C >
typedef GFSV::Ordering::Traits::ContainerIndex Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::RowIndex
template<typename GFSV , typename GFSU , typename C >
typedef Container::size_type Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::size_type
template<typename GFSV , typename GFSU , typename C >
typedef GFSV Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::TestGridFunctionSpace
template<typename GFSV , typename GFSU , typename C >
typedef GFSU Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::TrialGridFunctionSpace

Constructor & Destructor Documentation

template<typename GFSV , typename GFSU , typename C >
template<typename GO >
Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::MatrixContainer ( const GO &  go)
inline
template<typename GFSV , typename GFSU , typename C >
template<typename GO >
Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::MatrixContainer ( const GO &  go,
const E e 
)
inline
template<typename GFSV , typename GFSU , typename C >
Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::MatrixContainer ( Backend::unattached_container  = Backend::unattached_container())
inlineexplicit

Creates an ISTLMatrixContainer without allocating an underlying ISTL matrix.

template<typename GFSV , typename GFSU , typename C >
Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::MatrixContainer ( Backend::attached_container  )
inlineexplicit

Creates an ISTLMatrixContainer with an empty underlying ISTL matrix.

template<typename GFSV , typename GFSU , typename C >
Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::MatrixContainer ( const MatrixContainer< GFSV, GFSU, C > &  rhs)
inline

Member Function Documentation

template<typename GFSV , typename GFSU , typename C >
void Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::attach ( std::shared_ptr< Container container)
inline
template<typename GFSV , typename GFSU , typename C >
bool Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::attached ( ) const
inline
template<typename GFSV , typename GFSU , typename C >
const Container& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::base ( ) const
inline
template<typename GFSV , typename GFSU , typename C >
Container& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::base ( )
inline
template<typename GFSV , typename GFSU , typename C >
void Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::clear_row ( const RowIndex ri,
const E diagonal_entry 
)
inline
template<typename GFSV , typename GFSU , typename C >
void Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::detach ( )
inline
template<typename GFSV , typename GFSU , typename C >
void Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::finalize ( )
inline
template<typename GFSV , typename GFSU , typename C >
void Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::flush ( )
inline
template<typename GFSV , typename GFSU , typename C >
size_type Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::M ( ) const
inline
template<typename GFSV , typename GFSU , typename C >
template<typename V >
void Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::mv ( const V &  x,
V &  y 
) const
inline
template<typename GFSV , typename GFSU , typename C >
size_type Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::N ( ) const
inline
template<typename GFSV , typename GFSU , typename C >
E& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::operator() ( const RowIndex ri,
const ColIndex ci 
)
inline
template<typename GFSV , typename GFSU , typename C >
const E& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::operator() ( const RowIndex ri,
const ColIndex ci 
) const
inline
template<typename GFSV , typename GFSU , typename C >
MatrixContainer& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::operator*= ( const E e)
inline
template<typename GFSV , typename GFSU , typename C >
MatrixContainer& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::operator= ( const MatrixContainer< GFSV, GFSU, C > &  rhs)
inline
template<typename GFSV , typename GFSU , typename C >
MatrixContainer& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::operator= ( const E e)
inline

References e.

template<typename GFSV , typename GFSU , typename C >
const std::shared_ptr<Container>& Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::storage ( ) const
inline
template<typename GFSV , typename GFSU , typename C >
template<typename V >
void Dune::PDELab::simple::MatrixContainer< GFSV, GFSU, C >::usmv ( const E  alpha,
const V &  x,
V &  y 
) const
inline

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