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

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

Inheritance diagram for Dune::Functions::LeafBasisNode:
Inheritance graph

Public Types

using size_type = std::size_t

Public Member Functions

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

Static Public Member Functions

static constexpr auto degree ()

Static Public Attributes

static const bool isLeaf = true
static const bool isPower = false
static const bool isComposite = false

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

using Dune::Functions::BasisNodeMixin::size_type = std::size_t
inherited

Member Function Documentation

◆ degree()

constexpr auto Dune::Functions::LeafBasisNode::degree ( )
inlinestaticconstexpr

◆ empty()

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

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
inlineinherited

◆ offset()

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

◆ setOffset()

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

◆ setSize()

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

◆ setTreeIndex()

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

◆ size()

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

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
inlineinherited

Member Data Documentation

◆ isComposite

const bool Dune::Functions::LeafBasisNode::isComposite = false
static

◆ isLeaf

const bool Dune::Functions::LeafBasisNode::isLeaf = true
static

◆ isPower

const bool Dune::Functions::LeafBasisNode::isPower = false
static

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