Fractal dimension and fracture of brittle rocks