The Kelvin-Helmholtz instability on the magnetopause