LocalBasis class in the sense of dune-localfunctions, presenting the restriction of a B-spline patch to a knot span.
More...
|
| | BSplineLocalBasis (const BSplinePreBasis< GV > &preBasis, const BSplineLocalFiniteElement< GV, R > &lFE) |
| | Constructor with a given B-spline patch.
|
| |
| void | evaluateFunction (const FieldVector< D, dim > &in, std::vector< FieldVector< R, 1 > > &out) const |
| | Evaluate all shape functions.
|
| |
| void | evaluateJacobian (const FieldVector< D, dim > &in, std::vector< FieldMatrix< D, 1, dim > > &out) const |
| | Evaluate Jacobian of all shape functions.
|
| |
| template<size_t k> |
| void | evaluate (const typename std::array< int, k > &directions, const typename Traits::DomainType &in, std::vector< typename Traits::RangeType > &out) const |
| | Evaluate all shape functions and derivatives of any order.
|
| |
| unsigned int | order () const |
| | Polynomial order of the shape functions.
|
| |
| std::size_t | size () const |
| | Return the number of basis functions on the current knot span.
|
| |
template<class GV, class R>
class Dune::Functions::BSplineLocalBasis< GV, R >
LocalBasis class in the sense of dune-localfunctions, presenting the restriction of a B-spline patch to a knot span.
- Template Parameters
-
| GV | Grid view that the basis is defined on |
| R | Number type used for spline function values |
template<class GV , class R >
Polynomial order of the shape functions.
Unfortunately, the general interface of the LocalBasis class mandates that the 'order' method takes no arguments, and returns a single integer. It therefore cannot reflect that fact that a B-spline basis function can easily have different orders in the different coordinate directions. We therefore take the conservative choice and return the maximum over the orders of all directions.