Analysis of the thermodynamic conditions for brittle fracture