the rotor having permanent magnets