Strain localization for a class of anisotropic elastic-plastic solids