cleanup for petscsolver

Merged Praetorius, Simon requested to merge issue/cleanup_for_petscsolver into master

Merge request reports