VecPackScatter

Scatters from a global packed vector into its individual local vectors

Synopsis

#include "petscda.h"     
#include "petscmat.h"    
int VecPackScatter(VecPack packer,Vec gvec,...)
Collective on VecPack

Input Parameter

packer - the packer object
gvec - the global vector
... - the individual sequential objects (arrays or vectors)

See Also

VecPackDestroy(), VecPackAddArray(), VecPackAddDA(), VecPackCreateGlobalVector(),
VecPackGather(), VecPackCreate(), VecPackGetGlobalIndices(), VecPackGetAccess()

Level:advanced
Location:
src/dm/da/utils/pack.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/snes/examples/tutorials/ex21.c.html
src/snes/examples/tutorials/ex22.c.html
src/snes/examples/tutorials/ex24.c.html