Skip to content
ForCADDocumentation

basis_bspline_der_order_active Subroutine

public pure subroutine basis_bspline_der_order_active(Xt, knot, nc, degree, nder, first, B)

Evaluate one arbitrary derivative order on local support only.

The fixed-size result B(0:degree) avoids a dense temporary. first maps B(j) to global basis index first+j.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: Xt
real(kind=rk), intent(in), contiguous :: knot(:)
integer, intent(in) :: nc
integer, intent(in) :: degree
integer, intent(in) :: nder

Nonnegative derivative order.

integer, intent(out) :: first
real(kind=rk), intent(out) :: B(0:degree)