#include "petscvec.h" PetscErrorCode VecCreateNest(MPI_Comm comm,PetscInt nb,IS is[],Vec x[],Vec *Y)Collective on Vec
comm | - Communicator for the new Vec | |
nb | - number of nested blocks | |
is | - array of nb index sets describing each nested block, or NULL to pack subvectors contiguously | |
x | - array of nb sub-vectors |
Y | - new vector |