Dune-Functions 2.11
Loading...
Searching...
No Matches

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

Inheritance diagram for Dune::Functions::PowerBasisNode< T, n >:
Inheritance graph

Public Types

using ChildType = T
 
using Element = typename T::Element
 
using size_type = std::size_t
 

Public Member Functions

template<class Index >
requires (std::is_convertible_v<Index, std::size_t>)
const auto & child (Index i) const
 
template<class Index >
requires (std::is_convertible_v<Index, std::size_t>)
auto & child (Index i)
 
 PowerBasisNode ()=default
 
const Elementelement () const
 
template<class Index , class TT >
void setChild (Index i, TT &&t)
 
void bind (const T::Element &entity)
 
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 = false
 
static const bool isPower = true
 
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

◆ ChildType

template<typename T , std::size_t n>
using Dune::Functions::PowerBasisNode< T, n >::ChildType = T

◆ Element

template<typename T , std::size_t n>
using Dune::Functions::PowerBasisNode< T, n >::Element = typename T::Element

◆ size_type

Constructor & Destructor Documentation

◆ PowerBasisNode()

template<typename T , std::size_t n>
Dune::Functions::PowerBasisNode< T, n >::PowerBasisNode ( )
default

Member Function Documentation

◆ bind()

void Dune::Functions::InnerBasisNodeMixin< PowerBasisNode< T, n > , T::Element >::bind ( const T::Element &  entity)
inlineinherited

◆ child() [1/2]

template<typename T , std::size_t n>
template<class Index >
requires (std::is_convertible_v<Index, std::size_t>)
auto & Dune::Functions::PowerBasisNode< T, n >::child ( Index  i)
inline

◆ child() [2/2]

template<typename T , std::size_t n>
template<class Index >
requires (std::is_convertible_v<Index, std::size_t>)
const auto & Dune::Functions::PowerBasisNode< T, n >::child ( Index  i) const
inline

◆ degree()

template<typename T , std::size_t n>
static constexpr auto Dune::Functions::PowerBasisNode< T, n >::degree ( )
inlinestaticconstexpr

◆ element()

template<typename T , std::size_t n>
const Element & Dune::Functions::PowerBasisNode< T, n >::element ( ) const
inline

◆ 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

◆ setChild()

template<typename T , std::size_t n>
template<class Index , class TT >
void Dune::Functions::PowerBasisNode< T, n >::setChild ( Index  i,
TT &&  t 
)
inline

◆ 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

template<typename T , std::size_t n>
const bool Dune::Functions::PowerBasisNode< T, n >::isComposite = false
static

◆ isLeaf

template<typename T , std::size_t n>
const bool Dune::Functions::PowerBasisNode< T, n >::isLeaf = false
static

◆ isPower

template<typename T , std::size_t n>
const bool Dune::Functions::PowerBasisNode< T, n >::isPower = true
static

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