Discontinuous deformation with contact and friction using a global finite element enrichment