DUNE PDELab (unstable)

Dune::Functions::LFEPreBasisMixin< GV, LFE >::Node Class Reference

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

typedef LeafNodeTag NodeTag
 The type tag that describes a LeafNode.
 

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. More...
 
void bind (const Element &e)
 Bind to element. Stores a pointer to the passed element reference.
 
size_type size () const
 Obtain the number of basis function in the local node. More...
 
bool empty () const
 Check if the node is empty. More...
 

Static Public Attributes

static const bool isLeaf = true
 Mark this class as a leaf in a dune-typetree.
 
static const bool isPower = false
 Mark this class as a non power in the dune-typetree.
 
static const bool isComposite = false
 Mark this class as a non composite in the dune-typetree.
 

Detailed Description

template<class GV, class LFE>
class Dune::Functions::LFEPreBasisMixin< GV, LFE >::Node

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.

Member Function Documentation

◆ 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.

◆ finiteElement()

template<class GV , class LFE >
const FiniteElement & Dune::Functions::LFEPreBasisMixin< GV, LFE >::Node::finiteElement ( ) const
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

◆ 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.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Sep 5, 22:35, 2025)