dune-pdelab  2.5-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=!std::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

§ CI

typedef ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::CI
inherited

§ CIMap

typedef std::unordered_map<DI,CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::CIMap
inherited

§ CIVector

typedef std::vector<CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::CIVector
inherited

§ ConstraintsIterator

typedef ConstraintsVector::const_iterator Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::ConstraintsIterator
inherited

§ ConstraintsVector

typedef std::vector<ConstraintsEntry> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::ConstraintsVector
inherited

§ ContainerIndex

typedef Ordering::Traits::ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::ContainerIndex
inherited

§ DI

typedef DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::DI
inherited

§ DOFIndex

typedef Ordering::Traits::DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::DOFIndex
inherited

§ GFS

typedef LFS::Traits::GridFunctionSpace Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::GFS
inherited

§ InverseMap

typedef std::unordered_map<const CI*,std::pair<size_type,bool> > Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::InverseMap
inherited

§ LocalFunctionSpace

typedef LFS Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::LocalFunctionSpace
inherited

§ Ordering

typedef GFS::Ordering Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::Ordering
inherited

§ size_type

typedef std::size_t Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::size_type
inherited

Constructor & Destructor Documentation

§ LFSIndexCache() [1/2]

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 = !std::is_same<C,EmptyTransformation>::value 
)
inline

§ LFSIndexCache() [2/2]

template<typename LFS, typename C = EmptyTransformation>
Dune::PDELab::LFSIndexCache< LFS, C >::LFSIndexCache ( const LFS &  lfs)
inlineexplicit

Member Function Documentation

§ constraintsBegin()

ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::constraintsBegin ( size_type  i) const
inlineinherited

§ constraintsCachingEnabled()

bool Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::constraintsCachingEnabled ( ) const
inlineinherited

§ constraintsEnd()

ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::constraintsEnd ( size_type  i) const
inlineinherited

§ containerIndex() [1/2]

const CI& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::containerIndex ( size_type  i) const
inlineinherited

§ containerIndex() [2/2]

const CI& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::containerIndex ( const DI i) const
inlineinherited

§ dofIndex()

const DI& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::dofIndex ( size_type  i) const
inlineinherited

§ extendedOffset()

size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::extendedOffset ( size_type  i) const
inlineinherited

§ isConstrained()

bool Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::isConstrained ( size_type  i) const
inlineinherited

§ isDirichletConstraint()

bool Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::isDirichletConstraint ( size_type  i) const
inlineinherited

§ localFunctionSpace()

const LocalFunctionSpace& Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::localFunctionSpace ( ) const
inlineinherited

§ localIndex()

std::pair<size_type,bool> Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::localIndex ( const ContainerIndex ci) const
inlineinherited

§ offset()

size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::offset ( size_type  i) const
inlineinherited

§ size()

size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::size ( ) const
inlineinherited

§ update()

void Dune::PDELab::LFSIndexCacheBase< LFS, C, LFS::Traits::GridFunctionSpace::Ordering::CacheTag >::update ( )
inlineinherited

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