dune-functions  2.5.1
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::Functions::DefaultLocalIndexSet< LV, NIS > Class Template Reference

#include <dune/functions/functionspacebases/defaultlocalindexset.hh>

Public Types

using LocalView = LV
 
using NodeIndexSet = NIS
 
using MultiIndex = typename NodeIndexSet::MultiIndex
 Type used for global numbering of the basis vectors. More...
 
using size_type = std::size_t
 

Public Member Functions

 DefaultLocalIndexSet (const NodeIndexSet &nodeIndexSet)
 
 DefaultLocalIndexSet (NodeIndexSet &&nodeIndexSet)
 
void bind (const LocalView &localView)
 Bind the index set to a LocalView. More...
 
template<class TreePath >
void bind (const SubspaceLocalView< LocalView, TreePath > &subspaceLocalView)
 Bind the index set to a SubspaceLocalView. More...
 
void unbind ()
 Unbind the view. More...
 
size_type size () const
 Size of subtree rooted in this node (element-local) More...
 
MultiIndex index (size_type i) const
 Maps from subtree index set [0..size-1] to a globally unique multi index in global basis. More...
 
const LocalViewlocalView () const
 Return the local view that we are attached to. More...
 

Protected Attributes

const LocalViewlocalView_
 
NodeIndexSet nodeIndexSet_
 

Member Typedef Documentation

◆ LocalView

template<class LV , class NIS >
using Dune::Functions::DefaultLocalIndexSet< LV, NIS >::LocalView = LV

◆ MultiIndex

template<class LV , class NIS >
using Dune::Functions::DefaultLocalIndexSet< LV, NIS >::MultiIndex = typename NodeIndexSet::MultiIndex

Type used for global numbering of the basis vectors.

◆ NodeIndexSet

template<class LV , class NIS >
using Dune::Functions::DefaultLocalIndexSet< LV, NIS >::NodeIndexSet = NIS

◆ size_type

template<class LV , class NIS >
using Dune::Functions::DefaultLocalIndexSet< LV, NIS >::size_type = std::size_t

Constructor & Destructor Documentation

◆ DefaultLocalIndexSet() [1/2]

template<class LV , class NIS >
Dune::Functions::DefaultLocalIndexSet< LV, NIS >::DefaultLocalIndexSet ( const NodeIndexSet nodeIndexSet)
inline

◆ DefaultLocalIndexSet() [2/2]

template<class LV , class NIS >
Dune::Functions::DefaultLocalIndexSet< LV, NIS >::DefaultLocalIndexSet ( NodeIndexSet &&  nodeIndexSet)
inline

Member Function Documentation

◆ bind() [1/2]

template<class LV , class NIS >
void Dune::Functions::DefaultLocalIndexSet< LV, NIS >::bind ( const LocalView localView)
inline

Bind the index set to a LocalView.

◆ bind() [2/2]

template<class LV , class NIS >
template<class TreePath >
void Dune::Functions::DefaultLocalIndexSet< LV, NIS >::bind ( const SubspaceLocalView< LocalView, TreePath > &  subspaceLocalView)
inline

Bind the index set to a SubspaceLocalView.

◆ index()

template<class LV , class NIS >
MultiIndex Dune::Functions::DefaultLocalIndexSet< LV, NIS >::index ( size_type  i) const
inline

Maps from subtree index set [0..size-1] to a globally unique multi index in global basis.

◆ localView()

template<class LV , class NIS >
const LocalView& Dune::Functions::DefaultLocalIndexSet< LV, NIS >::localView ( ) const
inline

Return the local view that we are attached to.

◆ size()

template<class LV , class NIS >
size_type Dune::Functions::DefaultLocalIndexSet< LV, NIS >::size ( ) const
inline

Size of subtree rooted in this node (element-local)

◆ unbind()

template<class LV , class NIS >
void Dune::Functions::DefaultLocalIndexSet< LV, NIS >::unbind ( )
inline

Unbind the view.

Member Data Documentation

◆ localView_

template<class LV , class NIS >
const LocalView* Dune::Functions::DefaultLocalIndexSet< LV, NIS >::localView_
protected

◆ nodeIndexSet_

template<class LV , class NIS >
NodeIndexSet Dune::Functions::DefaultLocalIndexSet< LV, NIS >::nodeIndexSet_
protected

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