Skip to content
ForCADDocumentation

spline_element Subroutine

public pure subroutine spline_element(nc, degree, knot1, ie, ids, bounds, err, knot2, knot3, spans)

Local support in literal full knots, including repeated active endpoints. Valid knots/counts/degrees and optional planned spans are caller preconditions; no source net is copied.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nc(:)
integer, intent(in) :: degree(:)
real(kind=rk), intent(in), contiguous :: knot1(:)
integer, intent(in) :: ie
integer, intent(out), allocatable :: ids(:)
real(kind=rk), intent(out) :: bounds(2,size(nc))
type(debug), intent(inout) :: err
real(kind=rk), intent(in), optional, contiguous :: knot2(:)
real(kind=rk), intent(in), optional, contiguous :: knot3(:)
integer, intent(in), optional :: spans(:)