Analogies in the fracture mechanisms of concrete and ice