Classify KSP and PC options for PETSc