Local approaches applied to fracture and fatigue problems