Upper critical field of weakly coupled linear chains