Dune-Functions 2.11
Loading...
Searching...
No Matches
Dune::Functions::BasisNodeMixin Class Reference

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

Inheritance diagram for Dune::Functions::BasisNodeMixin:
Inheritance graph

Public Types

using size_type = std::size_t

Public Member Functions

 BasisNodeMixin ()
size_type localIndex (size_type i) const
size_type size () const
 Obtain the number of basis function in the local node.
bool empty () const
 Check if the node is empty.
size_type treeIndex () const

Protected Member Functions

size_type offset () const
void setOffset (const size_type offset)
void setSize (const size_type size)
void setTreeIndex (size_type treeIndex)

Member Typedef Documentation

◆ size_type

Constructor & Destructor Documentation

◆ BasisNodeMixin()

Dune::Functions::BasisNodeMixin::BasisNodeMixin ( )
inline

Member Function Documentation

◆ empty()

bool Dune::Functions::BasisNodeMixin::empty ( ) const
inline

Check if the node is empty.

This is equivalent to size()==0. Notice that it is undefined behaviour to access the element() and finiteElement() methods of the node if it is empty, i.e., if its size is zero.

◆ localIndex()

size_type Dune::Functions::BasisNodeMixin::localIndex ( size_type i) const
inline

◆ offset()

size_type Dune::Functions::BasisNodeMixin::offset ( ) const
inlineprotected

◆ setOffset()

void Dune::Functions::BasisNodeMixin::setOffset ( const size_type offset)
inlineprotected

◆ setSize()

void Dune::Functions::BasisNodeMixin::setSize ( const size_type size)
inlineprotected

◆ setTreeIndex()

void Dune::Functions::BasisNodeMixin::setTreeIndex ( size_type treeIndex)
inlineprotected

◆ size()

size_type Dune::Functions::BasisNodeMixin::size ( ) const
inline

Obtain the number of basis function in the local node.

Notice that it is undefined behaviour to access the element() and finiteElement() methods of the node if it is empty, i.e., if its size is zero.

◆ treeIndex()

size_type Dune::Functions::BasisNodeMixin::treeIndex ( ) const
inline

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