build_twist_taper Subroutine

pure subroutine build_twist_taper(this, L, nc, twist_deg, taper)

Apply a z-progressive twist and linear taper to a NURBS hexahedron.

Let the control points be indexed by along . Define the normalized axial coordinate which varies from 0 at the bottom face to 1 at the top face.

The total twist angle (in radians) at level is i.e. a linear ramp from to .

The in-plane (x–y) taper scale is chosen linear in : so at the bottom and at the top (shrinking if ).

For each control point , first shift to the in-plane centroid of the box, apply the scale and rotation by about , and keep unchanged:

Knots are preserved; only the control points are updated.

Arguments

Type IntentOptional Attributes Name
type(nurbs_volume), intent(inout) :: this

Volume to be transformed.

real(kind=rk), intent(in) :: L(3)

Box lengths .

integer, intent(in) :: nc(3)

Control points sizes.

real(kind=rk), intent(in) :: twist_deg

Total twist at top face (degrees).

real(kind=rk), intent(in) :: taper

In-plane scale at top face (0<taper≤1).


Calls

proc~~build_twist_taper~~CallsGraph proc~build_twist_taper build_twist_taper none~get_knot nurbs_volume%get_knot proc~build_twist_taper->none~get_knot none~get_wc nurbs_volume%get_Wc proc~build_twist_taper->none~get_wc none~get_xc nurbs_volume%get_Xc proc~build_twist_taper->none~get_xc none~set nurbs_volume%set proc~build_twist_taper->none~set proc~is_rational nurbs_volume%is_rational proc~build_twist_taper->proc~is_rational proc~get_knot_all nurbs_volume%get_knot_all none~get_knot->proc~get_knot_all proc~get_knoti nurbs_volume%get_knoti none~get_knot->proc~get_knoti proc~get_wc_all nurbs_volume%get_Wc_all none~get_wc->proc~get_wc_all proc~get_wci nurbs_volume%get_Wci none~get_wc->proc~get_wci proc~get_xc_all nurbs_volume%get_Xc_all none~get_xc->proc~get_xc_all proc~get_xci nurbs_volume%get_Xci none~get_xc->proc~get_xci proc~get_xcid nurbs_volume%get_Xcid none~get_xc->proc~get_xcid proc~set1 nurbs_volume%set1 none~set->proc~set1 proc~set2 nurbs_volume%set2 none~set->proc~set2 proc~set3 nurbs_volume%set3 none~set->proc~set3 proc~set4 nurbs_volume%set4 none~set->proc~set4 proc~cmp_degree nurbs_volume%cmp_degree proc~set1->proc~cmp_degree proc~cmp_nc nurbs_volume%cmp_nc proc~set1->proc~cmp_nc set set proc~set1->set proc~set2->proc~cmp_nc proc~compute_knot_vector compute_knot_vector proc~set2->proc~compute_knot_vector proc~set2->set proc~set3->proc~cmp_degree proc~set3->set proc~set4->set proc~cmp_degree->set proc~get_multiplicity nurbs_volume%get_multiplicity proc~cmp_degree->proc~get_multiplicity proc~cmp_nc->set interface~compute_multiplicity compute_multiplicity proc~cmp_nc->interface~compute_multiplicity proc~repelem repelem proc~compute_knot_vector->proc~repelem proc~compute_multiplicity1 compute_multiplicity1 interface~compute_multiplicity->proc~compute_multiplicity1 proc~compute_multiplicity2 compute_multiplicity2 interface~compute_multiplicity->proc~compute_multiplicity2 proc~get_multiplicity->interface~compute_multiplicity

Called by

proc~~build_twist_taper~~CalledByGraph proc~build_twist_taper build_twist_taper program~example_twist_taper example_twist_taper program~example_twist_taper->proc~build_twist_taper