Numerical implementation of the variational formulation for quasi-static brittle fracture | Synapse