dune-functions
2.5-dev
|
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 >, BSplineLocalCoefficients< dim >, BSplineLocalInterpolation< dim, BSplineLocalBasis< GV, R > > > | Traits |
Export various types related to this LocalFiniteElement. More... | |
Public Member Functions | |
BSplineLocalFiniteElement (const BSplineNodeFactory< GV, FlatMultiIndex< std::size_t >> &nodeFactory) | |
Constructor with a given B-spline basis. More... | |
void | bind (const std::array< uint, dim > &elementIdx) |
Bind LocalFiniteElement to a specific knot span of the spline patch. More... | |
const BSplineLocalBasis< GV, R > & | localBasis () const |
Hand out a LocalBasis object. More... | |
const BSplineLocalCoefficients< dim > & | localCoefficients () const |
Hand out a LocalCoefficients object. More... | |
const BSplineLocalInterpolation< dim, BSplineLocalBasis< GV, R > > & | localInterpolation () const |
Hand out a LocalInterpolation object. More... | |
uint | size () const |
Number of shape functions in this finite element. More... | |
GeometryType | type () const |
Return the reference element that the local finite element is defined on (here, a hypercube) More... | |
unsigned int | size (int i) const |
Number of degrees of freedom for one coordinate direction. More... | |
Public Attributes | |
const BSplineNodeFactory< GV, FlatMultiIndex< std::size_t > > & | nodeFactory_ |
BSplineLocalBasis< GV, R > | localBasis_ |
BSplineLocalCoefficients< dim > | localCoefficients_ |
BSplineLocalInterpolation< dim, BSplineLocalBasis< GV, R > > | localInterpolation_ |
std::array< uint, dim > | currentKnotSpan_ |
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
D | Number type used for domain coordinates |
R | Number type used for spline function values |
dim | Dimension of the patch |
typedef LocalFiniteElementTraits<BSplineLocalBasis<GV,R>, BSplineLocalCoefficients<dim>, BSplineLocalInterpolation<dim,BSplineLocalBasis<GV,R> > > Dune::Functions::BSplineLocalFiniteElement< GV, R >::Traits |
Export various types related to this LocalFiniteElement.
|
inline |
Constructor with a given B-spline basis.
|
inline |
Bind LocalFiniteElement to a specific knot span of the spline patch.
Elements are the non-empty knot spans, here we do the renumbering
ijk | Integer coordinates in the tensor product patch |
|
inline |
Hand out a LocalBasis object.
|
inline |
Hand out a LocalCoefficients object.
|
inline |
Hand out a LocalInterpolation object.
|
inline |
Number of shape functions in this finite element.
|
inline |
Number of degrees of freedom for one coordinate direction.
|
inline |
Return the reference element that the local finite element is defined on (here, a hypercube)
std::array<uint,dim> Dune::Functions::BSplineLocalFiniteElement< GV, R >::currentKnotSpan_ |
BSplineLocalBasis<GV,R> Dune::Functions::BSplineLocalFiniteElement< GV, R >::localBasis_ |
BSplineLocalCoefficients<dim> Dune::Functions::BSplineLocalFiniteElement< GV, R >::localCoefficients_ |
BSplineLocalInterpolation<dim,BSplineLocalBasis<GV,R> > Dune::Functions::BSplineLocalFiniteElement< GV, R >::localInterpolation_ |
const BSplineNodeFactory<GV,FlatMultiIndex<std::size_t> >& Dune::Functions::BSplineLocalFiniteElement< GV, R >::nodeFactory_ |