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

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

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

Public Member Functions

 LFSIndexCacheBase (const LFS &lfs)
 
template<typename C >
 LFSIndexCacheBase (const LFS &lfs, const C &c, 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
 
bool constraintsCachingEnabled () const
 

Member Typedef Documentation

§ CI

template<typename LFS , typename CacheTag >
typedef ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::CI

§ CIMap

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

§ CIVector

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

§ ConstraintsIterator

template<typename LFS , typename CacheTag >
typedef ConstraintsVector::const_iterator Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::ConstraintsIterator

§ ConstraintsVector

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

§ ContainerIndex

template<typename LFS , typename CacheTag >
typedef Ordering::Traits::ContainerIndex Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::ContainerIndex

§ DI

template<typename LFS , typename CacheTag >
typedef DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::DI

§ DOFIndex

template<typename LFS , typename CacheTag >
typedef Ordering::Traits::DOFIndex Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::DOFIndex

§ GFS

template<typename LFS , typename CacheTag >
typedef LFS::Traits::GridFunctionSpace Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::GFS

§ LocalFunctionSpace

template<typename LFS , typename CacheTag >
typedef LFS Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::LocalFunctionSpace

§ Ordering

template<typename LFS , typename CacheTag >
typedef GFS::Ordering Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::Ordering

§ size_type

template<typename LFS , typename CacheTag >
typedef std::size_t Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::size_type

Constructor & Destructor Documentation

§ LFSIndexCacheBase() [1/2]

template<typename LFS , typename CacheTag >
Dune::PDELab::LFSIndexCacheBase< LFS, EmptyTransformation, CacheTag >::LFSIndexCacheBase ( const LFS &  lfs)
inlineexplicit

§ LFSIndexCacheBase() [2/2]

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

Member Function Documentation

§ constraintsBegin()

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

§ constraintsCachingEnabled()

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

§ constraintsEnd()

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

§ containerIndex() [1/2]

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

§ containerIndex() [2/2]

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

§ dofIndex()

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

§ isConstrained()

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

§ isDirichletConstraint()

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

§ localFunctionSpace()

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

§ size()

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

§ update()

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

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