ADDACreateGlobalVector

Creates global vector for distributed array.

Synopsis

#include "petscda.h" 
PetscErrorCode PETSCDM_DLLEXPORT ADDACreateGlobalVector(ADDA adda, Vec *vec)
Collective on ADDA

Input Parameter

adda -the distributed array for which we create a global vector

Output Parameter

vec -the global vector

Keywords

distributed array, vector

See Also

DMCreateGlobalVector()

Level:beginner
Location:
src/dm/adda/adda.c
Index of all DA routines
Table of Contents for all manual pages
Index of all manual pages

Examples

src/ksp/ksp/examples/tutorials/ex40.c.html