DACreateLocalVector
Creates a parallel PETSc vector that may be used with the DAXXX routines.
Synopsis
int DACreateLocalVector(DA da,Vec* g)
Not
Collective
Input Parameter
da -the distributed array
Output Parameter
g -the local vector
Note
This is a regular PETSc vector that should be destroyed
witha call to VecDestroy().
Keywords
distributed array, get, local, distributed, vector
See Also
DACreateGlobalVector(), VecDuplicate(), VecDuplicateVecs(),
DACreate1d(), DACreate2d(), DACreate3d(), DAGlobalToLocalBegin(),
DAGlobalToLocalEnd(), DALocalToGlobal()
Examples
src/sles/examples/tutorials/ex14f.F
src/sles/examples/tutorials/ex14.c
src/snes/examples/tutorials/ex5f.F
src/snes/examples/tutorials/ex5f90.F
src/snes/examples/tutorials/ex5.c
src/snes/examples/tutorials/ex3.c
src/snes/examples/tutorials/ex7.c
src/snes/examples/tutorials/ex8.c
src/snes/examples/tutorials/ex9.c
Location: src/da/src/dalocal.c
IS and DA Index
Table of Contents