Bembel
Bembel::Projector< Derived > Class Template Reference

The Projector provides routines to assemble smooth B-Splines on each patch. More...

#include <Projector.hpp>

Detailed Description

template<typename Derived>
class Bembel::Projector< Derived >

The Projector provides routines to assemble smooth B-Splines on each patch.

This class solves local interpolation problems on each patch to assemble B-splines from the Berstein basis. The linear combination of the Bernstein basis functions is stored in a sparse transformation matrix.

Definition at line 40 of file Projector.hpp.

Public Member Functions

 Projector ()
 constructors More...
 
 Projector (const SuperSpace< Derived > &super_space, const int knot_repetition)
 Constructor for the Projector. More...
 
void init_Projector (const SuperSpace< Derived > &super_space, const int knot_repetition)
 init More...
 
int get_knot_repetition () const
 getter More...
 
const Eigen::SparseMatrix< double > & get_projection_matrix ()
 This function returns the transformation matrix to assemble smooth tensor product B-splines. More...
 
int get_dofs_after_projector () const
 Return number of smooth B-splines. More...
 

Constructor & Destructor Documentation

◆ Projector() [1/2]

template<typename Derived >
Bembel::Projector< Derived >::Projector ( )
inline

constructors

Default constructor

Definition at line 48 of file Projector.hpp.

◆ Projector() [2/2]

template<typename Derived >
Bembel::Projector< Derived >::Projector ( const SuperSpace< Derived > &  super_space,
const int  knot_repetition 
)
inline

Constructor for the Projector.

This constructor initializes a Projector object with the provided parameters.

Parameters
super_spaceThe SuperSpace to handle basis functions.
knot_repetitionThe number of repetitions of knots in the space.

Definition at line 58 of file Projector.hpp.

Member Function Documentation

◆ get_dofs_after_projector()

template<typename Derived >
int Bembel::Projector< Derived >::get_dofs_after_projector ( ) const
inline

Return number of smooth B-splines.

Returns
Number of DOFs after applying the transformation matrix.

Definition at line 107 of file Projector.hpp.

◆ get_knot_repetition()

template<typename Derived >
int Bembel::Projector< Derived >::get_knot_repetition ( ) const
inline

getter

Return knot repetition.

Returns
The number of repetitions of knots in the space.

Definition at line 88 of file Projector.hpp.

◆ get_projection_matrix()

template<typename Derived >
const Eigen::SparseMatrix<double>& Bembel::Projector< Derived >::get_projection_matrix ( )
inline

This function returns the transformation matrix to assemble smooth tensor product B-splines.

In the assembly process of this Projection matrix an local interpolation problem is solved on each element. This matrix needs to be applied to the Bernstein basis to assemble smooth tensor product B-splines.

Returns
The Projector matrix a tall thin Sparse transformation matrix.

Definition at line 99 of file Projector.hpp.

◆ init_Projector()

template<typename Derived >
void Bembel::Projector< Derived >::init_Projector ( const SuperSpace< Derived > &  super_space,
const int  knot_repetition 
)
inline

init

Initializes the Projector.

This function initializes the member variables of the Projector

Parameters
super_spaceThe SuperSpace to handle basis functions.
knot_repetitionThe number of repetitions of knots in the space.

Definition at line 72 of file Projector.hpp.


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