Bembel
 
Loading...
Searching...
No Matches
Bembel::Spl Namespace Reference

The Spl namespace is the backend for basis functions and B-Spline computations, and should not be used by the user in a boundary element code. More...

Detailed Description

The Spl namespace is the backend for basis functions and B-Spline computations, and should not be used by the user in a boundary element code.

Function Documentation

◆ DeBoor() [1/2]

template<typename T >
std::vector< Eigen::Matrix< T, -1, -1 > > Bembel::Spl::DeBoor ( std::vector< Eigen::Matrix< T, -1, -1 > > const control_points,
std::vector< double > const knot_vector,
std::vector< double > const evaluation_points 
)
noexcept

Definition at line 113 of file DeBoor.hpp.

◆ DeBoor() [2/2]

template<typename T >
std::vector< T > Bembel::Spl::DeBoor ( std::vector< T > const control_points,
const std::vector< double > &  knot_vector,
const std::vector< double > &  evaluation_points 
)
noexcept

Definition at line 68 of file DeBoor.hpp.

◆ DeBoorDer()

template<typename T >
std::vector< Eigen::Matrix< T, -1, -1 > > Bembel::Spl::DeBoorDer ( std::vector< Eigen::Matrix< T, -1, -1 > > const control_points,
std::vector< double > const knot,
std::vector< double > const evaluation_points 
)
noexcept

Definition at line 40 of file DeBoorTP.hpp.

◆ deBoorDerGiveData()

template<typename T >
std::vector< Eigen::Matrix< T, -1, -1 > > Bembel::Spl::deBoorDerGiveData ( std::vector< Eigen::Matrix< T, -1, -1 > > const control_points,
std::vector< double > const knot 
)
noexcept

Definition at line 70 of file DeBoorTP.hpp.

◆ DeBoorTP() [1/2]

template<typename T >
Eigen::Matrix< T, -1, -1 > Bembel::Spl::DeBoorTP ( Eigen::Matrix< T, -1, -1 > const control_points,
std::vector< double > const knots_x,
std::vector< double > const knots_y,
std::vector< double > const evaluation_points_x,
std::vector< double > const evaluation_points_y 
)
noexcept

Simple TP Bsplines.

Definition at line 99 of file DeBoorTP.hpp.

◆ DeBoorTP() [2/2]

template<typename T >
std::vector< Eigen::Matrix< T, -1, -1 > > Bembel::Spl::DeBoorTP ( std::vector< Eigen::Matrix< T, -1, -1 > > const control_points,
std::vector< double > const knots_x,
std::vector< double > const knots_y,
std::vector< double > const evaluation_points_x,
std::vector< double > const evaluation_points_y 
)
noexcept

Definition at line 110 of file DeBoorTP.hpp.

◆ DeBoorTPDer() [1/2]

template<typename T >
Eigen::Matrix< T, -1, -1 > Bembel::Spl::DeBoorTPDer ( Eigen::Matrix< T, -1, -1 > const control_points,
std::vector< double > const knots_x,
std::vector< double > const knots_y,
std::vector< double > const evaluation_points_x,
std::vector< double > const evaluation_points_y,
bool const x_to_be_derived,
bool const y_to_be_derived 
)
noexcept

Definition at line 125 of file DeBoorTP.hpp.

◆ DeBoorTPDer() [2/2]

template<typename T >
std::vector< Eigen::Matrix< T, -1, -1 > > Bembel::Spl::DeBoorTPDer ( std::vector< Eigen::Matrix< T, -1, -1 > > const control_points,
std::vector< double > const knots_x,
std::vector< double > const knots_y,
std::vector< double > const evaluation_points_x,
std::vector< double > const evaluation_points_y,
bool const x_to_be_derived,
bool const y_to_be_derived 
)
noexcept

Definition at line 140 of file DeBoorTP.hpp.

◆ ExtractUniqueKnotVector()

std::vector< double > Bembel::Spl::ExtractUniqueKnotVector ( const std::vector< double > &  in)
inline

Definition at line 62 of file Knots.hpp.

◆ FindLocationInKnotVector()

int Bembel::Spl::FindLocationInKnotVector ( const double x,
const std::vector< double > &  v 
)
inline

Definition at line 76 of file Knots.hpp.

◆ GetPolynomialDegreeFromKnotVector()

int Bembel::Spl::GetPolynomialDegreeFromKnotVector ( const std::vector< double > &  knot_vector)
inline

Definition at line 30 of file Knots.hpp.

◆ MakeInterpolationMask()

std::vector< double > Bembel::Spl::MakeInterpolationMask ( int  polynomial_degree)
inlinenoexcept

Definition at line 31 of file Localize.hpp.

◆ MakeUniformKnotVector() [1/2]

std::vector< double > Bembel::Spl::MakeUniformKnotVector ( int  p,
int  lvl 
)
inline

Definition at line 56 of file Knots.hpp.

◆ MakeUniformKnotVector() [2/2]

std::vector< double > Bembel::Spl::MakeUniformKnotVector ( int  polynomial_degree,
int  interior,
int  knotrepetition 
)
inlinenoexcept

Definition at line 43 of file Knots.hpp.

◆ Rescale()

constexpr double Bembel::Spl::Rescale ( double  x,
double  a,
double  b 
)
inlineconstexprnoexcept

Definition at line 25 of file Localize.hpp.

◆ Unroll()

template<typename T >
Eigen::Matrix< T, -1, 1 > Bembel::Spl::Unroll ( const Eigen::Matrix< T, -1, -1 > &  input_matrix)
inlinenoexcept

Tiny helper functions.

Definition at line 23 of file Unroll.hpp.