dune-pdelab  2.5-dev
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ConstUncachedVectorView< V, LFSC > Struct Template Reference

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

Inheritance diagram for Dune::PDELab::ConstUncachedVectorView< V, LFSC >:
Inheritance graph

Public Types

typedef std::remove_const< V >::type Container
 
typedef LFSC LFSCache
 
typedef Container::E ElementType
 
typedef Container::size_type size_type
 
typedef LFSCache::DOFIndex DOFIndex
 
typedef LFSCache::ContainerIndex ContainerIndex
 

Public Member Functions

 ConstUncachedVectorView ()
 
 ConstUncachedVectorView (V &container)
 
void attach (V &container)
 
void detach ()
 
void bind (const LFSCache &lfs_cache)
 
void unbind ()
 
size_type size () const
 
template<typename LC >
void read (LC &local_container) const
 
template<typename ChildLFS , typename LC >
void read (const ChildLFS &child_lfs, LC &local_container) const
 
template<typename ChildLFS , typename LC >
void read_sub_container (const ChildLFS &child_lfs, LC &local_container) const
 
const ElementTypeoperator[] (size_type i) const
 
template<typename DI >
std::enable_if_t<(std::is_same< DI, DOFIndex >{} and not std::is_same< DI, ContainerIndex >{}), const ElementType &> operator[] (const DI &di) const
 
const ElementTypeoperator[] (const ContainerIndex &ci) const
 
const Containercontainer () const
 
const LFSCachecache () const
 

Protected Attributes

V * _container
 
const LFSCache_lfs_cache
 

Member Typedef Documentation

◆ Container

template<typename V , typename LFSC >
typedef std::remove_const<V>::type Dune::PDELab::ConstUncachedVectorView< V, LFSC >::Container

◆ ContainerIndex

template<typename V , typename LFSC >
typedef LFSCache::ContainerIndex Dune::PDELab::ConstUncachedVectorView< V, LFSC >::ContainerIndex

◆ DOFIndex

template<typename V , typename LFSC >
typedef LFSCache::DOFIndex Dune::PDELab::ConstUncachedVectorView< V, LFSC >::DOFIndex

◆ ElementType

template<typename V , typename LFSC >
typedef Container::E Dune::PDELab::ConstUncachedVectorView< V, LFSC >::ElementType

◆ LFSCache

template<typename V , typename LFSC >
typedef LFSC Dune::PDELab::ConstUncachedVectorView< V, LFSC >::LFSCache

◆ size_type

template<typename V , typename LFSC >
typedef Container::size_type Dune::PDELab::ConstUncachedVectorView< V, LFSC >::size_type

Constructor & Destructor Documentation

◆ ConstUncachedVectorView() [1/2]

template<typename V , typename LFSC >
Dune::PDELab::ConstUncachedVectorView< V, LFSC >::ConstUncachedVectorView ( )
inline

◆ ConstUncachedVectorView() [2/2]

template<typename V , typename LFSC >
Dune::PDELab::ConstUncachedVectorView< V, LFSC >::ConstUncachedVectorView ( V &  container)
inline

Member Function Documentation

◆ attach()

template<typename V , typename LFSC >
void Dune::PDELab::ConstUncachedVectorView< V, LFSC >::attach ( V &  container)
inline

◆ bind()

template<typename V , typename LFSC >
void Dune::PDELab::ConstUncachedVectorView< V, LFSC >::bind ( const LFSCache lfs_cache)
inline

◆ cache()

template<typename V , typename LFSC >
const LFSCache& Dune::PDELab::ConstUncachedVectorView< V, LFSC >::cache ( ) const
inline

◆ container()

template<typename V , typename LFSC >
const Container& Dune::PDELab::ConstUncachedVectorView< V, LFSC >::container ( ) const
inline

◆ detach()

template<typename V , typename LFSC >
void Dune::PDELab::ConstUncachedVectorView< V, LFSC >::detach ( )
inline

◆ operator[]() [1/3]

template<typename V , typename LFSC >
const ElementType& Dune::PDELab::ConstUncachedVectorView< V, LFSC >::operator[] ( size_type  i) const
inline

◆ operator[]() [2/3]

template<typename V , typename LFSC >
template<typename DI >
std::enable_if_t< (std::is_same<DI,DOFIndex>{} and not std::is_same<DI,ContainerIndex>{}), const ElementType& > Dune::PDELab::ConstUncachedVectorView< V, LFSC >::operator[] ( const DI &  di) const
inline

◆ operator[]() [3/3]

template<typename V , typename LFSC >
const ElementType& Dune::PDELab::ConstUncachedVectorView< V, LFSC >::operator[] ( const ContainerIndex ci) const
inline

◆ read() [1/2]

template<typename V , typename LFSC >
template<typename LC >
void Dune::PDELab::ConstUncachedVectorView< V, LFSC >::read ( LC &  local_container) const
inline

◆ read() [2/2]

template<typename V , typename LFSC >
template<typename ChildLFS , typename LC >
void Dune::PDELab::ConstUncachedVectorView< V, LFSC >::read ( const ChildLFS &  child_lfs,
LC &  local_container 
) const
inline

◆ read_sub_container()

template<typename V , typename LFSC >
template<typename ChildLFS , typename LC >
void Dune::PDELab::ConstUncachedVectorView< V, LFSC >::read_sub_container ( const ChildLFS &  child_lfs,
LC &  local_container 
) const
inline

◆ size()

template<typename V , typename LFSC >
size_type Dune::PDELab::ConstUncachedVectorView< V, LFSC >::size ( ) const
inline

◆ unbind()

template<typename V , typename LFSC >
void Dune::PDELab::ConstUncachedVectorView< V, LFSC >::unbind ( )
inline

Member Data Documentation

◆ _container

template<typename V , typename LFSC >
V* Dune::PDELab::ConstUncachedVectorView< V, LFSC >::_container
protected

◆ _lfs_cache

template<typename V , typename LFSC >
const LFSCache* Dune::PDELab::ConstUncachedVectorView< V, LFSC >::_lfs_cache
protected

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