dune-functions 2.8.0
Loading...
Searching...
No Matches
Dune::Functions::PowerBasisNode< T, n > Class Template Reference

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

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

Public Types

using Element = typename T::Element
 
using size_type = std::size_t
 
typedef PowerNodeTag NodeTag
 
typedef T ChildType
 
typedef std::array< std::shared_ptr< T >, k > NodeStorage
 

Public Member Functions

 PowerBasisNode ()=default
 
 PowerBasisNode (const typename Node::NodeStorage &children)
 
const Element & element () const
 
size_type localIndex (size_type i) const
 
size_type size () const
 
size_type treeIndex () const
 
T & child (index_constant< i >={})
 
const T & child (index_constant< i >={}) const
 
T & child (std::size_t i)
 
const T & child (std::size_t i) const
 
ImplementationDefined & child (Indices... indices)
 
const ImplementationDefined & child (Indices... indices)
 
T & child (index_constant< i >={})
 
const T & child (index_constant< i >={}) const
 
T & child (std::size_t i)
 
const T & child (std::size_t i) const
 
ImplementationDefined & child (Indices... indices)
 
const ImplementationDefined & child (Indices... indices)
 
std::shared_ptr< T > childStorage (index_constant< i >={})
 
std::shared_ptr< const T > childStorage (index_constant< i >={}) const
 
std::shared_ptr< T > childStorage (std::size_t i)
 
std::shared_ptr< const T > childStorage (std::size_t i) const
 
std::shared_ptr< T > childStorage (index_constant< i >={})
 
std::shared_ptr< const T > childStorage (index_constant< i >={}) const
 
std::shared_ptr< T > childStorage (std::size_t i)
 
std::shared_ptr< const T > childStorage (std::size_t i) const
 
void setChild (T &t, index_constant< i >={})
 
void setChild (T &&t, index_constant< i >={})
 
void setChild (std::shared_ptr< T > st, index_constant< i >={})
 
void setChild (std::size_t i, T &t)
 
void setChild (std::size_t i, T &&t)
 
void setChild (std::size_t i, std::shared_ptr< T > st)
 
void setChild (T &t, index_constant< i >={})
 
void setChild (T &&t, index_constant< i >={})
 
void setChild (std::shared_ptr< T > st, index_constant< i >={})
 
void setChild (std::size_t i, T &t)
 
void setChild (std::size_t i, T &&t)
 
void setChild (std::size_t i, std::shared_ptr< T > st)
 
const NodeStorage & nodeStorage () const
 
const NodeStorage & nodeStorage () const
 

Static Public Member Functions

static constexpr auto degree ()
 

Static Public Attributes

static const bool isLeaf
 
static const bool isPower
 
static const bool isComposite
 
static const std::size_t CHILDREN
 

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

◆ Element

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

◆ size_type

Constructor & Destructor Documentation

◆ PowerBasisNode() [1/2]

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

◆ PowerBasisNode() [2/2]

template<typename T , std::size_t n>
Dune::Functions::PowerBasisNode< T, n >::PowerBasisNode ( const typename Node::NodeStorage &  children)
inline

Member Function Documentation

◆ element()

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

◆ 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

◆ treeIndex()

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

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