dune-functions  2.7.0
Public Types | Public Member Functions | Protected Attributes | List of all members
Dune::Functions::BSplineNodeIndexSet< GV, MI > Class Template Reference

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

Public Types

using size_type = std::size_t
 
using MultiIndex = MI
 Type used for global numbering of the basis vectors. More...
 
using PreBasis = BSplinePreBasis< GV, MI >
 
using Node = BSplineNode< GV, MI >
 

Public Member Functions

 BSplineNodeIndexSet (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_
 
std::array< unsigned int, dim > localSizes_
 

Member Typedef Documentation

◆ MultiIndex

template<typename GV , class MI >
using Dune::Functions::BSplineNodeIndexSet< GV, MI >::MultiIndex = MI

Type used for global numbering of the basis vectors.

◆ Node

template<typename GV , class MI >
using Dune::Functions::BSplineNodeIndexSet< GV, MI >::Node = BSplineNode<GV,MI>

◆ PreBasis

template<typename GV , class MI >
using Dune::Functions::BSplineNodeIndexSet< GV, MI >::PreBasis = BSplinePreBasis<GV, MI>

◆ size_type

template<typename GV , class MI >
using Dune::Functions::BSplineNodeIndexSet< GV, MI >::size_type = std::size_t

Constructor & Destructor Documentation

◆ BSplineNodeIndexSet()

template<typename GV , class MI >
Dune::Functions::BSplineNodeIndexSet< GV, MI >::BSplineNodeIndexSet ( const PreBasis preBasis)
inline

Member Function Documentation

◆ bind()

template<typename GV , class MI >
void Dune::Functions::BSplineNodeIndexSet< GV, MI >::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 , class MI >
template<typename It >
It Dune::Functions::BSplineNodeIndexSet< GV, MI >::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 , class MI >
size_type Dune::Functions::BSplineNodeIndexSet< GV, MI >::size ( ) const
inline

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

◆ unbind()

template<typename GV , class MI >
void Dune::Functions::BSplineNodeIndexSet< GV, MI >::unbind ( )
inline

Unbind the view.

Member Data Documentation

◆ localSizes_

template<typename GV , class MI >
std::array<unsigned int, dim> Dune::Functions::BSplineNodeIndexSet< GV, MI >::localSizes_
protected

◆ node_

template<typename GV , class MI >
const Node* Dune::Functions::BSplineNodeIndexSet< GV, MI >::node_
protected

◆ preBasis_

template<typename GV , class MI >
const PreBasis* Dune::Functions::BSplineNodeIndexSet< GV, MI >::preBasis_
protected

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