Slip-induced plastic flow of geomaterials and crystals