Deformation twinning and grain partitioning in a hexagonal close-packed magnesium alloy