Structure of Lorentzian tori with a killing vector field