Update petsc_vector pr according to Karstens comemnt