DUNE PDELab (git)

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.
 

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

◆ 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


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 23, 23:29, 2024)