Skip to content
ForCADDocumentation

reorient_patch Subroutine

public pure subroutine reorient_patch(nc, degree, axes, knot1, Xc, Wc, k1out, xout, wout, err, knot2, k2out, knot3, k3out)

Copy a tensor patch into signed axis order, including every exterior knot and stored weight. Source geometry and directional knot inputs/outputs must match the rank (1, 2 or 3).

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nc(:)
integer, intent(in) :: degree(:)
integer, intent(in) :: axes(:)
real(kind=rk), intent(in) :: knot1(:)
real(kind=rk), intent(in) :: Xc(:,:)
real(kind=rk), intent(in), allocatable :: Wc(:)
real(kind=rk), intent(out), allocatable :: k1out(:)
real(kind=rk), intent(out), allocatable :: xout(:,:)
real(kind=rk), intent(out), allocatable :: wout(:)
type(debug), intent(inout) :: err
real(kind=rk), intent(in), optional :: knot2(:)
real(kind=rk), intent(out), optional, allocatable :: k2out(:)
real(kind=rk), intent(in), optional :: knot3(:)
real(kind=rk), intent(out), optional, allocatable :: k3out(:)