Enriched finite element methods for fracture-based analysis and design