Skip to content
ForCADDocumentation

tensor_basis_derivative_at Subroutine

public pure subroutine tensor_basis_derivative_at(Xt, nc, degree, knot1, order, wrap, values, first_active, elem, Wc, knot2, knot3, side)

Evaluate one mixed basis derivative, with local, dense or selected output. Source knots/counts/degrees and parameter/order/wrapping lengths must agree. Constructor padding avoids an ifx 2026.2 Release RESHAPE optimizer failure. Directional scratch occupies one local buffer; no global basis is allocated.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: Xt(:)
integer, intent(in) :: nc(:)
integer, intent(in) :: degree(:)
real(kind=rk), intent(in), contiguous :: knot1(:)
integer, intent(in) :: order(:)
logical, intent(in) :: wrap(:)
real(kind=rk), intent(out) :: values(:)
integer, intent(out), optional :: first_active(:)
integer, intent(in), optional :: elem(:)
real(kind=rk), intent(in), optional, contiguous :: Wc(:)
real(kind=rk), intent(in), optional, contiguous :: knot2(:)
real(kind=rk), intent(in), optional, contiguous :: knot3(:)
integer, intent(in), optional :: side(:)