Charging effect on work function measurements of lithium ceramics under irradiation