dune-pdelab 2.7-git
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | List of all members
Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast > Class Template Reference

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

Inheritance diagram for Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >:
Inheritance graph

Classes

struct  ConstraintsEntry
 

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< ConstraintsEntryConstraintsVector
 
typedef ConstraintsVector::const_iterator ConstraintsIterator
 

Public Member Functions

 LFSIndexCacheBase (const LFS &lfs, const C &constraints, bool enable_constraints_caching)
 
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

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::CI

◆ CIMap

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef std::unordered_map<DI,CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::CIMap

◆ CIVector

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef std::vector<CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::CIVector

◆ ConstraintsIterator

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef ConstraintsVector::const_iterator Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::ConstraintsIterator

◆ ConstraintsVector

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef std::vector<ConstraintsEntry> Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::ConstraintsVector

◆ ContainerIndex

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef Ordering::Traits::ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::ContainerIndex

◆ DI

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::DI

◆ DOFIndex

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef Ordering::Traits::DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::DOFIndex

◆ GFS

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef LFS::Traits::GridFunctionSpace Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::GFS

◆ InverseMap

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef std::unordered_map<const CI*,std::pair<size_type,bool> > Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::InverseMap

◆ LocalFunctionSpace

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef LFS Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::LocalFunctionSpace

◆ Ordering

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef GFS::Ordering Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::Ordering

◆ size_type

template<typename LFS , typename C , typename CacheTag , bool fast>
typedef std::size_t Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::size_type

Constructor & Destructor Documentation

◆ LFSIndexCacheBase()

template<typename LFS , typename C , typename CacheTag , bool fast>
Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::LFSIndexCacheBase ( const LFS &  lfs,
const C &  constraints,
bool  enable_constraints_caching 
)
inline

Member Function Documentation

◆ constraintsBegin()

template<typename LFS , typename C , typename CacheTag , bool fast>
ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::constraintsBegin ( size_type  i) const
inline

◆ constraintsCachingEnabled()

template<typename LFS , typename C , typename CacheTag , bool fast>
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::constraintsCachingEnabled ( ) const
inline

◆ constraintsEnd()

template<typename LFS , typename C , typename CacheTag , bool fast>
ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::constraintsEnd ( size_type  i) const
inline

◆ containerIndex() [1/2]

template<typename LFS , typename C , typename CacheTag , bool fast>
const CI & Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::containerIndex ( const DI i) const
inline

◆ containerIndex() [2/2]

template<typename LFS , typename C , typename CacheTag , bool fast>
const CI & Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::containerIndex ( size_type  i) const
inline

◆ dofIndex()

template<typename LFS , typename C , typename CacheTag , bool fast>
const DI & Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::dofIndex ( size_type  i) const
inline

◆ extendedOffset()

template<typename LFS , typename C , typename CacheTag , bool fast>
size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::extendedOffset ( size_type  i) const
inline

◆ isConstrained()

template<typename LFS , typename C , typename CacheTag , bool fast>
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::isConstrained ( size_type  i) const
inline

◆ isDirichletConstraint()

template<typename LFS , typename C , typename CacheTag , bool fast>
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::isDirichletConstraint ( size_type  i) const
inline

◆ localFunctionSpace()

template<typename LFS , typename C , typename CacheTag , bool fast>
const LocalFunctionSpace & Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::localFunctionSpace ( ) const
inline

◆ localIndex()

template<typename LFS , typename C , typename CacheTag , bool fast>
std::pair< size_type, bool > Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::localIndex ( const ContainerIndex ci) const
inline

◆ offset()

template<typename LFS , typename C , typename CacheTag , bool fast>
size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::offset ( size_type  i) const
inline

◆ size()

template<typename LFS , typename C , typename CacheTag , bool fast>
size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::size ( ) const
inline

◆ update()

template<typename LFS , typename C , typename CacheTag , bool fast>
void Dune::PDELab::LFSIndexCacheBase< LFS, C, CacheTag, fast >::update ( )
inline

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