def _get_petsc_vec_array_old(vec):

    return vec.getArray()
helper function to handle a petsc backwards incompatibility between 3.6
dataset/ETHPy150Open OpenMDAO/OpenMDAO/openmdao/solvers/petsc_ksp.py/_get_petsc_vec_array_old