Text this: The variational theory of fracture: diffuse cohesive energy and elastic-plastic rupture