dune-functions  2.6-dev
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP > Class Template Reference

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

Public Types

using size_type = std::size_t
 
using MultiIndex = MI
 Type used for global numbering of the basis vectors. More...
 
using PreBasis = LagrangeDGPreBasis< GV, k, MI >
 
using Node = typename PreBasis::template Node< TP >
 

Public Member Functions

 LagrangeDGNodeIndexSet (const PreBasis &preBasis)
 
void bind (const Node &node)
 Bind the view to a grid element. More...
 
void unbind ()
 Unbind the view. More...
 
size_type size () const
 Size of subtree rooted in this node (element-local) More...
 
template<typename It >
It indices (It it) const
 Maps from subtree index set [0..size-1] to a globally unique multi index in global basis. More...
 

Protected Attributes

const PreBasispreBasis_
 
const Nodenode_
 

Member Typedef Documentation

◆ MultiIndex

template<typename GV , int k, class MI , class TP >
using Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::MultiIndex = MI

Type used for global numbering of the basis vectors.

◆ Node

template<typename GV , int k, class MI , class TP >
using Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::Node = typename PreBasis::template Node<TP>

◆ PreBasis

template<typename GV , int k, class MI , class TP >
using Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::PreBasis = LagrangeDGPreBasis<GV, k, MI>

◆ size_type

template<typename GV , int k, class MI , class TP >
using Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::size_type = std::size_t

Constructor & Destructor Documentation

◆ LagrangeDGNodeIndexSet()

template<typename GV , int k, class MI , class TP >
Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::LagrangeDGNodeIndexSet ( const PreBasis preBasis)
inline

Member Function Documentation

◆ bind()

template<typename GV , int k, class MI , class TP >
void Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::bind ( const Node node)
inline

Bind the view to a grid element.

Having to bind the view to an element before being able to actually access any of its data members offers to centralize some expensive setup code in the 'bind' method, which can save a lot of run-time.

◆ indices()

template<typename GV , int k, class MI , class TP >
template<typename It >
It Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::indices ( It  it) const
inline

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

◆ size()

template<typename GV , int k, class MI , class TP >
size_type Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::size ( ) const
inline

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

◆ unbind()

template<typename GV , int k, class MI , class TP >
void Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::unbind ( )
inline

Unbind the view.

Member Data Documentation

◆ node_

template<typename GV , int k, class MI , class TP >
const Node* Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::node_
protected

◆ preBasis_

template<typename GV , int k, class MI , class TP >
const PreBasis* Dune::Functions::LagrangeDGNodeIndexSet< GV, k, MI, TP >::preBasis_
protected

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