A nonlinear strength criterion for rock-like materials based on fracture mechanics