![]() |
Dune-Functions 2.11
|
Leaf basis node that encapsulates a local finite-element given from the LFEPreBasisMixin of type LFE. More...
#include <dune/functions/functionspacebases/lfeprebasismixin.hh>

Public Types | |
| using | size_type = std::size_t |
| using | Element = typename GV::template Codim<0>::Entity |
| using | FiniteElement = LFE |
Public Member Functions | |
| Node (const LFE &lfe) | |
| Constructor; stores a pointer to the passed local finite-element lfe. | |
| const Element & | element () const |
| Return current element; might raise an error if unbound. | |
| const FiniteElement & | finiteElement () const |
| Return the LocalFiniteElement for the element we are bound to; might raise an error if unbound. | |
| void | bind (const Element &e) |
| Bind to element. Stores a pointer to the passed element reference. | |
| 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) |
Protected Attributes | |
| const FiniteElement * | lfe_ |
| const Element * | element_ |
Leaf basis node that encapsulates a local finite-element given from the LFEPreBasisMixin of type LFE.
The Node implements the LEafBasisNode interface. Its stores a pointer to the local finite-element given by the LFEPreBasisMixin. Thus, the lifetime of the pre-basis must be greater than the lifetime of this node.
| using Dune::Functions::LFEPreBasisMixin< GV, LFE >::Node::Element = typename GV::template Codim<0>::Entity |
| using Dune::Functions::LFEPreBasisMixin< GV, LFE >::Node::FiniteElement = LFE |
| using Dune::Functions::LFEPreBasisMixin< GV, LFE >::Node::size_type = std::size_t |
|
inlineexplicit |
Constructor; stores a pointer to the passed local finite-element lfe.
|
inline |
Bind to element. Stores a pointer to the passed element reference.
|
inlinestaticconstexprinherited |
|
inline |
Return current element; might raise an error if unbound.
|
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.
|
inline |
Return the LocalFiniteElement for the element we are bound to; might raise an error if unbound.
The LocalFiniteElement implements the corresponding interfaces of the dune-localfunctions module
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
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.
|
inlineinherited |
|
protected |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
protected |