Cylindrical rod magnet