DUNE PDELab (unstable)
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
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()
|
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()
|
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()
|
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:
- dune/functions/functionspacebases/lfeprebasismixin.hh
