dune-pdelab  2.0.0
Classes | Public Types | Public Member Functions | List of all members
Dune::PDELab::ISTLBlockVectorContainer< GFS, C > Class Template Reference

#include <dune/pdelab/backend/istlvectorbackend.hh>

Classes

struct  ConstLocalView
 
struct  LocalView
 

Public Types

typedef C::field_type ElementType
 
typedef ElementType E
 
typedef C Container
 
typedef GFS GridFunctionSpace
 
typedef Container BaseT
 
typedef Container::field_type field_type
 
typedef Container::block_type block_type
 
typedef Container::size_type size_type
 
typedef
GFS::Ordering::Traits::ContainerIndex 
ContainerIndex
 
typedef istl::vector_iterator< C > iterator
 
typedef istl::vector_iterator
< const C > 
const_iterator
 

Public Member Functions

 ISTLBlockVectorContainer (const ISTLBlockVectorContainer &rhs)
 
 ISTLBlockVectorContainer (const GFS &gfs, tags::attached_container=tags::attached_container())
 
 ISTLBlockVectorContainer (const GFS &gfs, tags::unattached_container)
 Creates an ISTLBlockVectorContainer without allocating an underlying ISTL vector. More...
 
 ISTLBlockVectorContainer (const GFS &gfs, Container &container)
 Constructs an ISTLBlockVectorContainer for an explicitly given vector object. More...
 
 ISTLBlockVectorContainer (const GFS &gfs, const E &e)
 
void detach ()
 
void attach (shared_ptr< Container > container)
 
bool attached () const
 
const shared_ptr< Container > & storage () const
 
size_type N () const
 
ISTLBlockVectorContaineroperator= (const ISTLBlockVectorContainer &r)
 
ISTLBlockVectorContaineroperator= (const E &e)
 
ISTLBlockVectorContaineroperator*= (const E &e)
 
ISTLBlockVectorContaineroperator+= (const E &e)
 
ISTLBlockVectorContaineroperator+= (const ISTLBlockVectorContainer &e)
 
ISTLBlockVectorContaineroperator-= (const ISTLBlockVectorContainer &e)
 
block_typeblock (std::size_t i)
 
const block_typeblock (std::size_t i) const
 
Eoperator[] (const ContainerIndex &ci)
 
const Eoperator[] (const ContainerIndex &ci) const
 
Dune::template FieldTraits< E >
::real_type 
two_norm () const
 
Dune::template FieldTraits< E >
::real_type 
one_norm () const
 
Dune::template FieldTraits< E >
::real_type 
infinity_norm () const
 
E operator* (const ISTLBlockVectorContainer &y) const
 
E dot (const ISTLBlockVectorContainer &y) const
 
ISTLBlockVectorContaineraxpy (const E &a, const ISTLBlockVectorContainer &y)
 
Containerbase ()
 
const Containerbase () const
 
 operator Container & ()
 
 operator const Container & () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
size_t flatsize () const
 
const GFS & gridFunctionSpace () const
 

Member Typedef Documentation

template<typename GFS, typename C>
typedef Container Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::BaseT
template<typename GFS, typename C>
typedef Container::block_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::block_type
template<typename GFS, typename C>
typedef istl::vector_iterator<const C> Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::const_iterator
template<typename GFS, typename C>
typedef C Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::Container
template<typename GFS, typename C>
typedef GFS::Ordering::Traits::ContainerIndex Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::ContainerIndex
template<typename GFS, typename C>
typedef ElementType Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::E
template<typename GFS, typename C>
typedef C::field_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::ElementType
template<typename GFS, typename C>
typedef Container::field_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::field_type
template<typename GFS, typename C>
typedef GFS Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::GridFunctionSpace
template<typename GFS, typename C>
typedef istl::vector_iterator<C> Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::iterator
template<typename GFS, typename C>
typedef Container::size_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::size_type

Constructor & Destructor Documentation

template<typename GFS, typename C>
Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::ISTLBlockVectorContainer ( const ISTLBlockVectorContainer< GFS, C > &  rhs)
inline
template<typename GFS, typename C>
Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::ISTLBlockVectorContainer ( const GFS &  gfs,
tags::attached_container  = tags::attached_container() 
)
inline
template<typename GFS, typename C>
Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::ISTLBlockVectorContainer ( const GFS &  gfs,
tags::unattached_container   
)
inline

Creates an ISTLBlockVectorContainer without allocating an underlying ISTL vector.

template<typename GFS, typename C>
Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::ISTLBlockVectorContainer ( const GFS &  gfs,
Container container 
)
inline

Constructs an ISTLBlockVectorContainer for an explicitly given vector object.

Parameters
gfsGridFunctionSpace that determines the size and the blocking of the vector
containerThe actual ISTL container class
template<typename GFS, typename C>
Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::ISTLBlockVectorContainer ( const GFS &  gfs,
const E e 
)
inline

References e.

Member Function Documentation

template<typename GFS, typename C>
void Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::attach ( shared_ptr< Container container)
inline
template<typename GFS, typename C>
bool Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::attached ( ) const
inline
template<typename GFS, typename C>
ISTLBlockVectorContainer& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::axpy ( const E a,
const ISTLBlockVectorContainer< GFS, C > &  y 
)
inline
template<typename GFS, typename C>
Container& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::base ( )
inline
template<typename GFS, typename C>
const Container& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::base ( ) const
inline
template<typename GFS, typename C>
iterator Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::begin ( )
inline
template<typename GFS, typename C>
const_iterator Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::begin ( ) const
inline
template<typename GFS, typename C>
block_type& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::block ( std::size_t  i)
inline
template<typename GFS, typename C>
const block_type& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::block ( std::size_t  i) const
inline
template<typename GFS, typename C>
void Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::detach ( )
inline
template<typename GFS, typename C>
E Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::dot ( const ISTLBlockVectorContainer< GFS, C > &  y) const
inline
template<typename GFS, typename C>
iterator Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::end ( )
inline
template<typename GFS, typename C>
const_iterator Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::end ( ) const
inline
template<typename GFS, typename C>
size_t Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::flatsize ( ) const
inline
template<typename GFS, typename C>
const GFS& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::gridFunctionSpace ( ) const
inline
template<typename GFS, typename C>
Dune::template FieldTraits<E>::real_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::infinity_norm ( ) const
inline
template<typename GFS, typename C>
size_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::N ( ) const
inline
template<typename GFS, typename C>
Dune::template FieldTraits<E>::real_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::one_norm ( ) const
inline
template<typename GFS, typename C>
Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator const Container & ( ) const
inline
template<typename GFS, typename C>
Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator Container & ( )
inline
template<typename GFS, typename C>
E Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator* ( const ISTLBlockVectorContainer< GFS, C > &  y) const
inline
template<typename GFS, typename C>
ISTLBlockVectorContainer& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator*= ( const E e)
inline

References e.

template<typename GFS, typename C>
ISTLBlockVectorContainer& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator+= ( const E e)
inline

References e.

template<typename GFS, typename C>
ISTLBlockVectorContainer& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator+= ( const ISTLBlockVectorContainer< GFS, C > &  e)
inline
template<typename GFS, typename C>
ISTLBlockVectorContainer& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator-= ( const ISTLBlockVectorContainer< GFS, C > &  e)
inline
template<typename GFS, typename C>
ISTLBlockVectorContainer& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator= ( const ISTLBlockVectorContainer< GFS, C > &  r)
inline
template<typename GFS, typename C>
ISTLBlockVectorContainer& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator= ( const E e)
inline

References e.

template<typename GFS, typename C>
E& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator[] ( const ContainerIndex ci)
inline
template<typename GFS, typename C>
const E& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::operator[] ( const ContainerIndex ci) const
inline
template<typename GFS, typename C>
const shared_ptr<Container>& Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::storage ( ) const
inline
template<typename GFS, typename C>
Dune::template FieldTraits<E>::real_type Dune::PDELab::ISTLBlockVectorContainer< GFS, C >::two_norm ( ) const
inline

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