Influence of material viscoelasticity on the scattering of guided waves by defects