Is there a C example how to use GetVecType? I am trying to do something like
// VecType* type;
char type[1024];
ierr = VecGetType(b, type);
ierr = PetscSynchronizedFPrintf(PETSC_COMM_WORLD, stderr, "%s\n",
type); CHKERRQ(ierr);
but always get this or another error like cannot convert 'char*' to
'const char**' or similar.
Many thanks
Dominik
