A class which provides helper functions to initialise the Greville points from a B-Spline definition. More...
#include <greville_interpolation_points.hpp>
Public Types | |
using | interpolation_discrete_dimension_type = std::conditional_t< is_uniform_discrete_dimension_v< BSplines >, ddc::UniformPointSampling< continuous_dimension_type >, ddc::NonUniformPointSampling< continuous_dimension_type > > |
The type of the mesh. | |
Static Public Member Functions | |
template<class Sampling , typename U = BSplines, std::enable_if_t< is_uniform_discrete_dimension_v< U >, bool > = true> | |
static auto | get_sampling () |
Get the UniformPointSampling defining the Greville points. | |
template<class Sampling , typename U = BSplines, std::enable_if_t< !is_uniform_discrete_dimension_v< U >, bool > = true> | |
static auto | get_sampling () |
Get the NonUniformPointSampling defining the Greville points. | |
template<class Sampling > | |
static ddc::DiscreteDomain< Sampling > | get_domain () |
Get the domain which gives us access to all of the Greville points. | |
A class which provides helper functions to initialise the Greville points from a B-Spline definition.
BSplines | The bspline class relative to which the Greville points will be calculated. |
BcLower | The lower boundary condition that will be used to build the splines. |
BcUpper | The upper boundary condition that will be used to build the splines. |
Definition at line 27 of file greville_interpolation_points.hpp.
using ddc::GrevilleInterpolationPoints< BSplines, BcLower, BcUpper >::interpolation_discrete_dimension_type = std::conditional_t< is_uniform_discrete_dimension_v<BSplines>, ddc::UniformPointSampling<continuous_dimension_type>, ddc::NonUniformPointSampling<continuous_dimension_type> > |
The type of the mesh.
This is either NonUniformPointSampling or UniformPointSampling.
Definition at line 266 of file greville_interpolation_points.hpp.
|
inlinestatic |
Get the UniformPointSampling defining the Greville points.
This function is called when the result is a UniformPointSampling. This is the case when uniform splines are used with an odd degree and with boundary conditions which do not introduce additional interpolation points.
Sampling | The discrete dimension supporting the Greville points. |
Definition at line 144 of file greville_interpolation_points.hpp.
|
inlinestatic |
Get the NonUniformPointSampling defining the Greville points.
Sampling | The discrete dimension supporting the Greville points. |
Definition at line 163 of file greville_interpolation_points.hpp.
|
inlinestatic |
Get the domain which gives us access to all of the Greville points.
Sampling | The discrete dimension supporting the Greville points. |
Definition at line 279 of file greville_interpolation_points.hpp.