Interrelation between the threshold characteristics of erosion and spall fracture