Magnetic accelerators