Damage tolerance analysis using the eXtended finite element method