Finite element methods in fracture mechanics