Requirements on heating or current drive for tearing mode stabilization by current profile tailoring