Interaction between Deformation Twinning and Dislocation Slip in Polycrystalline Solids