petsc-3.7.1 2016-05-15
Report Typos and Errors

VecCreateNest

Creates a new vector containing several nested subvectors, each stored separately

Synopsis

#include "petscvec.h"   
PetscErrorCode  VecCreateNest(MPI_Comm comm,PetscInt nb,IS is[],Vec x[],Vec *Y)
Collective on Vec Many br

Input Parameter

comm - Communicator for the new Vec Many br
nb - number of nested blocks Many br
is - array of nb index sets describing each nested block, or NULL to pack subvectors contiguously Many br
x - array of nb sub-vectors Many br

Output Parameter

Y -new vector Many br

Many br

See Also

VecCreate(), MatCreateNest(), DMSetVecType(), VECNEST

Level:advanced
Location:
src/vec/vec/impls/nest/vecnest.c
Index of all Vec routines
Table of Contents for all manual pages
Index of all manual pages