In-wheel permanent magnet motor.