Enhancement of high-harmonic gyrotron gain by a dielectric rod