BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_bspline_recurse Module Reference

Module for B-spline recursion and knot sequences. More...

Functions/Subroutines

pure recursive real(wp) function, public bspline_recurse_eval (x, j, r, t)
 Recursively evaluate a B-spline at a given point.
 
pure real(wp) function, dimension(-degree:nr_intervals+degree), public clamped_knotsequence (nr_intervals, degree)
 Generate a clamped knot sequence for a B-spline.
 
pure real(wp) function, dimension(-degree:nr_intervals+degree), public periodic_knotsequence (nr_intervals, degree)
 Generate a periodic knot sequence for a B-spline.
 
pure real(wp) function, dimension(1:size(knot_sequence, 1) - degree - 1), public greville_points (knot_sequence, degree)
 Calculate the Greville points for a given knot sequence and degree.
 

Detailed Description

Module for B-spline recursion and knot sequences.

This module is used for testing pruposes only and contains functions for evaluating B-splines recursively,

Function/Subroutine Documentation

◆ bspline_recurse_eval()

pure recursive real(wp) function, public m_bspline_recurse::bspline_recurse_eval ( real(wp), intent(in) x,
integer, intent(in) j,
integer, intent(in) r,
real(wp), dimension(-r:), intent(in) t )

Recursively evaluate a B-spline at a given point.

Parameters
[in]xThe point at which to evaluate the B-spline
[in]jThe index of the B-spline
[in]rThe degree of the B-spline
[in]tThe knot sequence of the B-spline
Returns
The value of the B-spline at the point x

◆ clamped_knotsequence()

pure real(wp) function, dimension(-degree:nr_intervals + degree), public m_bspline_recurse::clamped_knotsequence ( integer, intent(in) nr_intervals,
integer, intent(in) degree )

Generate a clamped knot sequence for a B-spline.

Parameters
[in]nr_intervalsThe number of intervals in the B-spline
[in]degreeThe degree of the B-spline
Returns
A clamped knot sequence for the B-spline

◆ greville_points()

pure real(wp) function, dimension(1:size(knot_sequence, 1) - degree - 1), public m_bspline_recurse::greville_points ( real(wp), dimension(1:), intent(in) knot_sequence,
integer, intent(in) degree )

Calculate the Greville points for a given knot sequence and degree.

Parameters
[in]knot_sequenceThe knot sequence
[in]degreeThe degree of the B-spline
Returns
The Greville points of the B-spline

◆ periodic_knotsequence()

pure real(wp) function, dimension(-degree:nr_intervals + degree), public m_bspline_recurse::periodic_knotsequence ( integer, intent(in) nr_intervals,
integer, intent(in) degree )

Generate a periodic knot sequence for a B-spline.

Parameters
[in]nr_intervalsThe number of intervals in the B-spline
[in]degreeThe degree of the B-spline
Returns
A periodic knot sequence for the B-spline