The effects of magnetic field on single-surface resonant multipactor