Helper class for the initialisation of the mesh of interpolation points. More...
#include <knots_as_interpolation_points.hpp>
Public Types | |
using | interpolation_discrete_dimension_type = std::conditional_t< is_uniform_bsplines_v< BSplines >, ddc::UniformPointSampling< continuous_dimension_type >, ddc::NonUniformPointSampling< continuous_dimension_type > > |
The DDC type of the sampling for the interpolation points. | |
Static Public Member Functions | |
template<typename Sampling , typename U = BSplines> | |
static auto | get_sampling () |
Get the sampling of interpolation points. | |
template<typename Sampling > | |
static ddc::DiscreteDomain< Sampling > | get_domain () |
Get the domain which can be used to access the interpolation points in the sampling. | |
Helper class for the initialisation of the mesh of interpolation points.
A helper class for the initialisation of the mesh of interpolation points. This class should be used when the interpolation points should be located at the knots of the spline. This is possible with any kind of boundary condition except Greville boundary conditions (as there will not be enough interpolation points). In the case of strongly non-uniform splines this choice may result in a less well conditioned problem, however most mathematical stability results are proven with this choice of interpolation points.
BSplines | The type of the uniform or non-uniform spline basis whose knots are used as interpolation points. |
BcLower | The lower boundary condition. |
BcLower | The upper boundary condition. |
Definition at line 33 of file knots_as_interpolation_points.hpp.
using ddc::KnotsAsInterpolationPoints< BSplines, BcLower, BcUpper >::interpolation_discrete_dimension_type = std::conditional_t< is_uniform_bsplines_v<BSplines>, ddc::UniformPointSampling<continuous_dimension_type>, ddc::NonUniformPointSampling<continuous_dimension_type> > |
The DDC type of the sampling for the interpolation points.
Definition at line 70 of file knots_as_interpolation_points.hpp.
|
inlinestatic |
Get the sampling of interpolation points.
Definition at line 47 of file knots_as_interpolation_points.hpp.
|
inlinestatic |
Get the domain which can be used to access the interpolation points in the sampling.
Definition at line 81 of file knots_as_interpolation_points.hpp.