SG++
sgpp::base::NakBsplineBoundaryCombigridBasis< LT, IT > Class Template Reference

Hierarchical Not-a-knot B-spline basis. More...

#include <NakBsplineBoundaryCombigridBasis.hpp>

Inheritance diagram for sgpp::base::NakBsplineBoundaryCombigridBasis< LT, IT >:
sgpp::base::Basis< LT, IT >

Public Member Functions

double eval (LT l, IT i, double x) override
 
size_t getDegree () const
 
 NakBsplineBoundaryCombigridBasis ()
 Default constructor. More...
 
 NakBsplineBoundaryCombigridBasis (size_t degree)
 Constructor. More...
 
 ~NakBsplineBoundaryCombigridBasis () override
 Destructor. More...
 
- Public Member Functions inherited from sgpp::base::Basis< LT, IT >
virtual ~Basis ()
 Destructor. More...
 

Protected Attributes

BsplineBasis< LT, IT > bsplineBasis
 B-spline basis for B-spline evaluation. More...
 

Detailed Description

template<class LT, class IT>
class sgpp::base::NakBsplineBoundaryCombigridBasis< LT, IT >

Hierarchical Not-a-knot B-spline basis.

This basis is designed to represent Bspline boundary interpolants from the combigrid module. Therefore it has the following unusual choice of basis functions: linear and quadratic terms on level 0 constant term on level 1

This means that this basis of level 0 cannot represent constant functions! It is therefore not suitabe for any application that cannot guarantee the existence of level 1 in every dimension

A combigrid interpolant which shall be interpolated with this class needs level (1,...,1) otherwise the boundary points cannot match

Constructor & Destructor Documentation

template<class LT, class IT>
sgpp::base::NakBsplineBoundaryCombigridBasis< LT, IT >::NakBsplineBoundaryCombigridBasis ( )
inline

Default constructor.

template<class LT, class IT>
sgpp::base::NakBsplineBoundaryCombigridBasis< LT, IT >::NakBsplineBoundaryCombigridBasis ( size_t  degree)
inlineexplicit

Constructor.

Parameters
degreeB-spline degree, must be odd (if it's even, degree - 1 is used)
template<class LT, class IT>
sgpp::base::NakBsplineBoundaryCombigridBasis< LT, IT >::~NakBsplineBoundaryCombigridBasis ( )
inlineoverride

Destructor.

Member Function Documentation

template<class LT, class IT>
double sgpp::base::NakBsplineBoundaryCombigridBasis< LT, IT >::eval ( LT  l,
IT  i,
double  x 
)
inlineoverridevirtual

Member Data Documentation


The documentation for this class was generated from the following file: