dune-pdelab  2.4-dev
Public Types | Public Member Functions | List of all members
Dune::PDELab::LFSIndexCache< LFS, C > Class Template Reference

#include <dune/pdelab/gridfunctionspace/lfsindexcache.hh>

Inheritance diagram for Dune::PDELab::LFSIndexCache< LFS, C >:
Inheritance graph

Public Types

typedef LFS LocalFunctionSpace
 
typedef LFS::Traits::GridFunctionSpace GFS
 
typedef GFS::Ordering Ordering
 
typedef Ordering::Traits::ContainerIndex ContainerIndex
 
typedef ContainerIndex CI
 
typedef Ordering::Traits::DOFIndex DOFIndex
 
typedef DOFIndex DI
 
typedef std::size_t size_type
 
typedef std::vector< CICIVector
 
typedef std::unordered_map< DI, CICIMap
 
typedef std::unordered_map< const CI *, std::pair< size_type, bool > > InverseMap
 
typedef std::vector< ConstraintsEntry > ConstraintsVector
 
typedef ConstraintsVector::const_iterator ConstraintsIterator
 

Public Member Functions

template<typename CC >
 LFSIndexCache (const LFS &lfs, const CC &c, bool enable_constraints_caching=!is_same< C, EmptyTransformation >::value)
 
 LFSIndexCache (const LFS &lfs)
 
void update ()
 
const DIdofIndex (size_type i) const
 
const CIcontainerIndex (size_type i) const
 
const CIcontainerIndex (const DI &i) const
 
bool isConstrained (size_type i) const
 
bool isDirichletConstraint (size_type i) const
 
ConstraintsIterator constraintsBegin (size_type i) const
 
ConstraintsIterator constraintsEnd (size_type i) const
 
const LocalFunctionSpacelocalFunctionSpace () const
 
size_type size () const
 
std::pair< size_type, bool > localIndex (const ContainerIndex &ci) const
 
size_type offset (size_type i) const
 
size_type extendedOffset (size_type i) const
 
bool constraintsCachingEnabled () const
 

Member Typedef Documentation

typedef ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::CI
inherited
typedef std::unordered_map<DI,CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::CIMap
inherited
typedef std::vector<CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::CIVector
inherited
typedef ConstraintsVector::const_iterator Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::ConstraintsIterator
inherited
typedef std::vector<ConstraintsEntry> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::ConstraintsVector
inherited
typedef Ordering::Traits::ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::ContainerIndex
inherited
typedef DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::DI
inherited
typedef Ordering::Traits::DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::DOFIndex
inherited
typedef LFS::Traits::GridFunctionSpace Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::GFS
inherited
typedef std::unordered_map<const CI*,std::pair<size_type,bool> > Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::InverseMap
inherited
typedef LFS Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::LocalFunctionSpace
inherited
typedef GFS::Ordering Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::Ordering
inherited
typedef std::size_t Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::size_type
inherited

Constructor & Destructor Documentation

template<typename LFS, typename C = EmptyTransformation>
template<typename CC >
Dune::PDELab::LFSIndexCache< LFS, C >::LFSIndexCache ( const LFS &  lfs,
const CC &  c,
bool  enable_constraints_caching = !is_same<C,EmptyTransformation>::value 
)
inline
template<typename LFS, typename C = EmptyTransformation>
Dune::PDELab::LFSIndexCache< LFS, C >::LFSIndexCache ( const LFS &  lfs)
inlineexplicit

Member Function Documentation

ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::constraintsBegin ( size_type  i) const
inlineinherited
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::constraintsCachingEnabled ( ) const
inlineinherited
ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::constraintsEnd ( size_type  i) const
inlineinherited
const CI& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::containerIndex ( size_type  i) const
inlineinherited
const CI& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::containerIndex ( const DI i) const
inlineinherited
const DI& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::dofIndex ( size_type  i) const
inlineinherited
size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::extendedOffset ( size_type  i) const
inlineinherited
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::isConstrained ( size_type  i) const
inlineinherited
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::isDirichletConstraint ( size_type  i) const
inlineinherited
const LocalFunctionSpace& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::localFunctionSpace ( ) const
inlineinherited
std::pair<size_type,bool> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::localIndex ( const ContainerIndex ci) const
inlineinherited
size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::offset ( size_type  i) const
inlineinherited
size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::size ( ) const
inlineinherited
void Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::update ( )
inlineinherited

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