Semiclassical laser-cooling theory for a trapped multistate ion.