Deformation and fracture of rocks loaded with spherical indenters