61 VecGetSize(petscVector,&size);
65 EXCEPTION(
"Size of vector does not match FixedDimensionSize.");
79#if ((PETSC_VERSION_MAJOR == 3) || (PETSC_VERSION_MAJOR == 2 && PETSC_VERSION_MINOR == 3 && PETSC_VERSION_SUBMINOR == 3))
91 double *concentrated_vector;
93 for (
int i=0; i<size; i++)