Material tailoring in functionally graded rods under torsion