Thermal diffusion and multiply-charged atoms in the magnetosphere.