Wave scattering from discontinuities related to corrosion-like damage in one-dimensional waveguides