Skip to content
ForCADDocumentation

reduce_control_lines Subroutine

public pure subroutine reduce_control_lines(knot, degree, Xc, Wc, nc, dir, t, tol, err, controls, weight_exponent, reduced, error_bound)

Degree reduction with one physical budget against the call-entry geometry. Local inverse elevation and candidate-only knot removal construct proposals; re-elevation on a common basis bounds their complete Euclidean deviation.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(inout), allocatable :: knot(:)
integer, intent(in) :: degree
real(kind=rk), intent(in), contiguous :: Xc(:,:)
real(kind=rk), intent(in), allocatable :: Wc(:)
integer, intent(in) :: nc(:)
integer, intent(in) :: dir
integer, intent(in) :: t
real(kind=rk), intent(in) :: tol
type(debug), intent(inout) :: err
real(kind=rk), intent(out), allocatable :: controls(:,:)
integer, intent(out) :: weight_exponent
integer, intent(out) :: reduced
real(kind=rk), intent(out) :: error_bound