An integral equation approach to fracture propagation in rocks