dune-pdelab  2.5-dev
Classes | Public Types | Public Member Functions | List of all members
Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false > Class Template Reference

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

Classes

struct  ConstraintsEntry
 

Public Types

using LocalFunctionSpace = LFS
 
using GFS = typename LFS::Traits::GridFunctionSpace
 
using Ordering = typename GFS::Ordering
 
using DOFIndex = typename Ordering::Traits::DOFIndex
 
using DI = DOFIndex
 
using ContainerIndex = typename Ordering::Traits::ContainerIndex
 
using CI = ContainerIndex
 
using size_type = std::size_t
 
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

 LFSIndexCacheBase (const LFS &lfs, const C &constraints, bool enable_constraints_caching)
 
void update ()
 
DI dofIndex (size_type i) const
 
CI containerIndex (size_type i) const
 
CI containerIndex (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
 
bool constraintsCachingEnabled () const
 

Member Typedef Documentation

◆ CI

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::CI = ContainerIndex

◆ CIMap

template<typename LFS , typename C >
typedef std::unordered_map<DI,CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::CIMap

◆ CIVector

template<typename LFS , typename C >
typedef std::vector<CI> Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::CIVector

◆ ConstraintsIterator

template<typename LFS , typename C >
typedef ConstraintsVector::const_iterator Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::ConstraintsIterator

◆ ConstraintsVector

template<typename LFS , typename C >
typedef std::vector<ConstraintsEntry> Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::ConstraintsVector

◆ ContainerIndex

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::ContainerIndex = typename Ordering::Traits::ContainerIndex

◆ DI

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::DI = DOFIndex

◆ DOFIndex

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::DOFIndex = typename Ordering::Traits::DOFIndex

◆ GFS

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::GFS = typename LFS::Traits::GridFunctionSpace

◆ InverseMap

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

◆ LocalFunctionSpace

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::LocalFunctionSpace = LFS

◆ Ordering

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::Ordering = typename GFS::Ordering

◆ size_type

template<typename LFS , typename C >
using Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::size_type = std::size_t

Constructor & Destructor Documentation

◆ LFSIndexCacheBase()

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

Member Function Documentation

◆ constraintsBegin()

template<typename LFS , typename C >
ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::constraintsBegin ( size_type  i) const
inline

◆ constraintsCachingEnabled()

template<typename LFS , typename C >
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::constraintsCachingEnabled ( ) const
inline

◆ constraintsEnd()

template<typename LFS , typename C >
ConstraintsIterator Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::constraintsEnd ( size_type  i) const
inline

◆ containerIndex() [1/2]

template<typename LFS , typename C >
CI Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::containerIndex ( const DI i) const
inline

◆ containerIndex() [2/2]

template<typename LFS , typename C >
CI Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::containerIndex ( size_type  i) const
inline

◆ dofIndex()

template<typename LFS , typename C >
DI Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::dofIndex ( size_type  i) const
inline

◆ isConstrained()

template<typename LFS , typename C >
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::isConstrained ( size_type  i) const
inline

◆ isDirichletConstraint()

template<typename LFS , typename C >
bool Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::isDirichletConstraint ( size_type  i) const
inline

◆ localFunctionSpace()

template<typename LFS , typename C >
const LocalFunctionSpace& Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::localFunctionSpace ( ) const
inline

◆ size()

template<typename LFS , typename C >
size_type Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::size ( ) const
inline

◆ update()

template<typename LFS , typename C >
void Dune::PDELab::LFSIndexCacheBase< LFS, C, Experimental::DuneFunctionsCacheTag, false >::update ( )
inline

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