Plates and shells with cracks