Role of the m = 0 modes in the edge region of a reversed-field pinch during pulsed poloidal current drive