DDC 0.0.0

a discrete domain computation library

ddc::KnotsAsInterpolationPoints< BSplines, BcXmin, BcXmax > Class Template Reference

Helper class for the initialisation of the mesh of interpolation points. More...

Public Types

using interpolation_mesh_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< Samplingget_domain ()
 Get the domain which can be used to access the interpolation points in the sampling.
 

Detailed Description

template<class BSplines, ddc::BoundCond BcXmin, ddc::BoundCond BcXmax>
class ddc::KnotsAsInterpolationPoints< BSplines, BcXmin, BcXmax >

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.

Member Typedef Documentation

◆ interpolation_mesh_type

template<class BSplines , ddc::BoundCond BcXmin, ddc::BoundCond BcXmax>
using ddc::KnotsAsInterpolationPoints< BSplines, BcXmin, BcXmax >::interpolation_mesh_type
Initial value:
std::conditional_t<
NonUniformPointSampling models a non-uniform discretization of the CDim segment .
Definition non_uniform_point_sampling.hpp:34
UniformPointSampling models a uniform discretization of the provided continuous dimension.
Definition uniform_point_sampling.hpp:36
constexpr bool enable_chunk
Definition chunk_traits.hpp:16

The DDC type of the sampling for the interpolation points.

Member Function Documentation

◆ get_sampling()

template<class BSplines , ddc::BoundCond BcXmin, ddc::BoundCond BcXmax>
template<typename Sampling , typename U = BSplines>
static auto ddc::KnotsAsInterpolationPoints< BSplines, BcXmin, BcXmax >::get_sampling ( )
inlinestatic

Get the sampling of interpolation points.

Returns
sampling The DDC point sampling of the interpolation points.

◆ get_domain()

Get the domain which can be used to access the interpolation points in the sampling.

Returns
domain The discrete domain which maps to the sampling of interpolation points.

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