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

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

Public Types

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

Public Member Functions

 PQ1NodeIndexSet (const NodeFactory &nodeFactory)
 
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...
 
MultiIndex index (size_type i) const
 Maps from subtree index set [0..size-1] to a globally unique multi index in global basis. More...
 

Protected Attributes

const NodeFactorynodeFactory_
 
const Nodenode_
 

Member Typedef Documentation

§ MultiIndex

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

Type used for global numbering of the basis vectors.

§ Node

template<typename GV , class MI , class TP >
using Dune::Functions::PQ1NodeIndexSet< GV, MI, TP >::Node = typename NodeFactory::template Node<TP>

§ NodeFactory

template<typename GV , class MI , class TP >
using Dune::Functions::PQ1NodeIndexSet< GV, MI, TP >::NodeFactory = PQ1NodeFactory<GV, MI>

§ size_type

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

Constructor & Destructor Documentation

§ PQ1NodeIndexSet()

template<typename GV , class MI , class TP >
Dune::Functions::PQ1NodeIndexSet< GV, MI, TP >::PQ1NodeIndexSet ( const NodeFactory nodeFactory)
inline

Member Function Documentation

§ bind()

template<typename GV , class MI , class TP >
void Dune::Functions::PQ1NodeIndexSet< GV, 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.

§ index()

template<typename GV , class MI , class TP >
MultiIndex Dune::Functions::PQ1NodeIndexSet< GV, MI, TP >::index ( size_type  i) 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 , class TP >
size_type Dune::Functions::PQ1NodeIndexSet< GV, MI, TP >::size ( ) const
inline

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

§ unbind()

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

Unbind the view.

Member Data Documentation

§ node_

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

§ nodeFactory_

template<typename GV , class MI , class TP >
const NodeFactory* Dune::Functions::PQ1NodeIndexSet< GV, MI, TP >::nodeFactory_
protected

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