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

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

Inheritance diagram for Dune::PDELab::LFSIndexCache< LFS, C, fast >:
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, EmptyTransformation , LFS::Traits::GridFunctionSpace::Ordering::CacheTag , fast >::CI
inherited

◆ CIMap

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

◆ CIVector

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

◆ ConstraintsIterator

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

◆ ConstraintsVector

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

◆ ContainerIndex

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

◆ DI

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

◆ DOFIndex

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

◆ GFS

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

◆ InverseMap

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

◆ LocalFunctionSpace

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

◆ Ordering

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

◆ size_type

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

Constructor & Destructor Documentation

◆ LFSIndexCache() [1/2]

template<typename LFS , typename C = EmptyTransformation, bool fast = false>
template<typename CC >
Dune::PDELab::LFSIndexCache< LFS, C, fast >::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, bool fast = false>
Dune::PDELab::LFSIndexCache< LFS, C, fast >::LFSIndexCache ( const LFS &  lfs)
inlineexplicit

Member Function Documentation

◆ constraintsBegin()

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

◆ constraintsCachingEnabled()

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

◆ constraintsEnd()

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

◆ containerIndex() [1/2]

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

◆ containerIndex() [2/2]

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

◆ dofIndex()

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

◆ extendedOffset()

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

◆ isConstrained()

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

◆ isDirichletConstraint()

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

◆ localFunctionSpace()

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

◆ localIndex()

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

◆ offset()

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

◆ size()

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

◆ update()

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

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