compute_dTgc Interface
public interface compute_dTgc
Evaluate dense first parametric derivatives of the surface basis.
Derivative component 1 is with respect to the first parameter and
component 2 to the second. Values and gradients share one local pass.
Scalar elem selections support either full weights or local weights
when size(Wc)==size(elem) differs from product(nc).
For , rational derivatives use
Module Procedures
private pure subroutine compute_dTgc_nurbs_2d_vector(Xt, knot1, knot2, degree, nc, ng, Wc, dTgc, Tgc, wrap_parameters)
Compatibility adapter to the shared local surface calculation.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | Xt(:,:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot1(:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot2(:) | ||
| integer, | intent(in) | :: | degree(2) | |||
| integer, | intent(in) | :: | nc(2) | |||
| integer, | intent(in), | optional | :: | ng(2) | ||
| real(kind=rk), | intent(in), | contiguous | :: | Wc(:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:,:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | Tgc(:,:) | ||
| logical, | intent(in), | optional, | contiguous | :: | wrap_parameters(:) |
private pure subroutine compute_dTgc_bspline_2d_vector(Xt, knot1, knot2, degree, nc, ng, dTgc, Tgc, wrap_parameters)
Compatibility adapter to the shared local surface calculation.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | Xt(:,:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot1(:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot2(:) | ||
| integer, | intent(in) | :: | degree(2) | |||
| integer, | intent(in) | :: | nc(2) | |||
| integer, | intent(in), | optional | :: | ng(2) | ||
| real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:,:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | Tgc(:,:) | ||
| logical, | intent(in), | optional, | contiguous | :: | wrap_parameters(:) |
private pure subroutine compute_dTgc_nurbs_2d_scalar(Xt, knot1, knot2, degree, nc, Wc, dTgc, Tgc, elem, wrap_parameters)
Compatibility adapter to the shared local surface calculation.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | Xt(:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot1(:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot2(:) | ||
| integer, | intent(in) | :: | degree(2) | |||
| integer, | intent(in) | :: | nc(2) | |||
| real(kind=rk), | intent(in), | contiguous | :: | Wc(:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | Tgc(:) | ||
| integer, | intent(in), | optional | :: | elem(:) | ||
| logical, | intent(in), | optional, | contiguous | :: | wrap_parameters(:) |
private pure subroutine compute_dTgc_bspline_2d_scalar(Xt, knot1, knot2, degree, nc, dTgc, Tgc, elem, wrap_parameters)
Compatibility adapter to the shared local surface calculation.
Arguments
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rk), | intent(in), | contiguous | :: | Xt(:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot1(:) | ||
| real(kind=rk), | intent(in), | contiguous | :: | knot2(:) | ||
| integer, | intent(in) | :: | degree(2) | |||
| integer, | intent(in) | :: | nc(2) | |||
| real(kind=rk), | intent(out), | allocatable | :: | dTgc(:,:) | ||
| real(kind=rk), | intent(out), | allocatable | :: | Tgc(:) | ||
| integer, | intent(in), | optional | :: | elem(:) | ||
| logical, | intent(in), | optional, | contiguous | :: | wrap_parameters(:) |