The Ricci soliton equation and the structure of homogeneous Gödel-type spacetimes