update petsc reader with new dimension syntax