fix conversion form idx vector to petscint

23 jobs for thoennes/remove-petscint in 161 minutes and 35 seconds (queued for 3 seconds)