bezier_element_data Subroutine
public pure subroutine bezier_element_data(knot1, nc, degree, ie, Xc, Wc, make_piece, Xout, Wout, ids, bounds, err, C, knot2, knot3, rational, spans)
Exact local Bernstein extraction by insertion of the two element endpoints. C is weight-independent: N=CB, H_bezier=transpose(C)H_active. Geometry uses successive positive directional contractions; the tensor matrix is allocated only when requested. Parameter bounds remain literal.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | knot1(:) | ||
| integer, | intent(in) | :: | nc(:) | |||
| integer, | intent(in) | :: | degree(:) | |||
| integer, | intent(in) | :: | ie | |||
| real(kind=rk), | intent(in) | :: | Xc(:,:) | |||
| real(kind=rk), | intent(in), | allocatable | :: | Wc(:) | ||
| logical, | intent(in) | :: | make_piece | |||
| real(kind=rk), | intent(out), | allocatable | :: | Xout(:,:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | Wout(:) | ||
| integer, | intent(out), | allocatable | :: | ids(:) | ||
| real(kind=rk), | intent(out) | :: | bounds(2,size(nc)) | |||
| type(debug), | intent(inout) | :: | err | |||
| real(kind=rk), | intent(out), | optional, | allocatable | :: | C(:,:) | |
| real(kind=rk), | intent(in), | optional, | contiguous | :: | knot2(:) | |
| real(kind=rk), | intent(in), | optional, | contiguous | :: | knot3(:) | |
| logical, | intent(in), | optional | :: | rational | ||
| integer, | intent(in), | optional | :: | spans(:) |