def Values2A(ibrav, values):
    """needs a doc string"""
    if ibrav in [0, 1, 2]:
        return [values[0], values[0], values[0], 0, 0, 0]
    elif ibrav in [3, 4]:
        return [values[0], values[0], values[1], values[0], 0, 0]
    elif ibrav in [5, 6]:
        return [values[0], values[0], values[1], 0, 0, 0]
    elif ibrav in [7, 8, 9, 10, 11, 12]:
        return [values[0], values[1], values[2], 0, 0, 0]
    elif ibrav in [13, 14, 15]:
        return [values[0], values[1], values[2], 0, values[3], 0]
    else:
        return list(values[:6])
