Dune Core Modules (2.8.0)

Dune::Functions::BSplineLocalFiniteElement< GV, R, MI > Class Template Reference

LocalFiniteElement in the sense of dune-localfunctions, for the B-spline basis on tensor-product grids. More...

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

Public Types

typedef LocalFiniteElementTraits< BSplineLocalBasis< GV, R, MI >, BSplineLocalCoefficients< dim >, BSplineLocalInterpolation< dim, BSplineLocalBasis< GV, R, MI > > > Traits
 Export various types related to this LocalFiniteElement.
 

Public Member Functions

 BSplineLocalFiniteElement (const BSplinePreBasis< GV, MI > &preBasis)
 Constructor with a given B-spline basis.
 
 BSplineLocalFiniteElement (const BSplineLocalFiniteElement &other)
 Copy constructor.
 
void bind (const std::array< unsigned, dim > &elementIdx)
 Bind LocalFiniteElement to a specific knot span of the spline patch. More...
 
const BSplineLocalBasis< GV, R, MI > & localBasis () const
 Hand out a LocalBasis object.
 
const BSplineLocalCoefficients< dim > & localCoefficients () const
 Hand out a LocalCoefficients object.
 
const BSplineLocalInterpolation< dim, BSplineLocalBasis< GV, R, MI > > & localInterpolation () const
 Hand out a LocalInterpolation object.
 
unsigned size () const
 Number of shape functions in this finite element.
 
GeometryType type () const
 Return the reference element that the local finite element is defined on (here, a hypercube)
 
unsigned int size (int i) const
 Number of degrees of freedom for one coordinate direction.
 

Detailed Description

template<class GV, class R, class MI>
class Dune::Functions::BSplineLocalFiniteElement< GV, R, MI >

LocalFiniteElement in the sense of dune-localfunctions, for the B-spline basis on tensor-product grids.

This class ties together the implementation classes BSplineLocalBasis, BSplineLocalCoefficients, and BSplineLocalInterpolation

Template Parameters
DNumber type used for domain coordinates
RNumber type used for spline function values
MIGlobal multi-index type. Only here for technical reasons

Member Function Documentation

◆ bind()

template<class GV , class R , class MI >
void Dune::Functions::BSplineLocalFiniteElement< GV, R, MI >::bind ( const std::array< unsigned, dim > &  elementIdx)
inline

Bind LocalFiniteElement to a specific knot span of the spline patch.

Elements are the non-empty knot spans, here we do the renumbering

Parameters
ijkInteger coordinates in the tensor product patch

References Dune::Functions::BSplineLocalFiniteElement< GV, R, MI >::size().


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 (Dec 22, 23:30, 2024)