Allow build without PETSc
The most recent release of getdp does not seem to build without PETSc.
If PETSc is not installed, petscvec.h
does not exist and Kernel/Operation_Vector.cpp does not compile (see ff2ae098).
Testing for HAVE_PETSC
fixed the problem for me.
#if defined(HAVE_PETSC)
#include "petscvec.h"
#endif