refine_control_net Subroutine
public pure subroutine refine_control_net(knot, degree, Xc, Wc, nc, dir, knots, Xout, Wout, err, B, Bs, Xth, r, t)
Share homogeneous insertion/elevation, decoding and optional fixed-weight maps. Valid source geometry and direction are preconditions. Supply either t, or matching Xth/r arrays. Only requested maps allocate; identity requests leave Xout unallocated so callers retain their sampling caches.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | 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 | |||
| real(kind=rk), | intent(out), | allocatable | :: | knots(:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | Xout(:,:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | Wout(:) | ||
| type(debug), | intent(inout) | :: | err | |||
| real(kind=rk), | intent(out), | optional, | allocatable | :: | B(:,:) | |
| real(kind=rk), | intent(out), | optional, | allocatable | :: | Bs(:,:) | |
| real(kind=rk), | intent(in), | optional | :: | Xth(:) | ||
| integer, | intent(in), | optional | :: | r(:) | ||
| integer, | intent(in), | optional | :: | t |