![]() |
SG++-Doxygen-Documentation
|
Hierarchical Not-a-knot B-spline basis. More...
#include <NakBsplineBoundaryCombigridBasis.hpp>
Public Member Functions | |
| double | eval (LT l, IT i, double x) override |
| size_t | getDegree () const override |
| double | getIntegral (LT level, IT index) override |
| returns the integal of the current basis function More... | |
| 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... | |
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
|
inline |
Default constructor.
|
inlineexplicit |
Constructor.
| degree | B-spline degree, must be odd (if it's even, degree - 1 is used) |
|
inlineoverride |
Destructor.
|
inlineoverridevirtual |
| l | level of basis function |
| i | index of basis function |
| x | evaluation point |
Implements sgpp::base::Basis< LT, IT >.
Referenced by sgpp::combigrid::LTwoScalarProductHashMapNakBsplineBoundaryCombigrid::calculateScalarProduct(), python.uq.analysis.asgc.ASGCAnalysis.ASGCAnalysis::estimateDensity(), and sgpp::base::OperationEvalNakBsplineBoundaryCombigridNaive::eval().
|
inlineoverridevirtual |
Implements sgpp::base::Basis< LT, IT >.
Referenced by sgpp::base::NakBsplineBoundaryCombigridBasis< unsigned int, unsigned int >::eval(), and sgpp::base::NakBsplineBoundaryCombigridBasis< unsigned int, unsigned int >::NakBsplineBoundaryCombigridBasis().
|
inlineoverridevirtual |
returns the integal of the current basis function
| level | level of the basis function |
| index | index of the basis function |
Implements sgpp::base::Basis< LT, IT >.
|
protected |
B-spline basis for B-spline evaluation.
Referenced by sgpp::base::NakBsplineBoundaryCombigridBasis< unsigned int, unsigned int >::eval(), and sgpp::base::NakBsplineBoundaryCombigridBasis< unsigned int, unsigned int >::getDegree().