VecGhostRestoreLocalRepresentation

Restore the local ghosted representation of a parallel vector obtained with VecGhostGetLocalRepresentation().

Synopsis

int VecGhostRestoreLocalRepresentation(Vec g,Vec *l)
Not Collective

Input Parameter

g - the global vector
l - the local (ghosted) representation

Notes

This routine does not actually update the ghost values, it allow returns asequential vector that includes the locations for the ghost values and theircurrent values.

Keywords

ghost points, local representation

See Also

VecCreateGhost(), VecGhostGetLocalRepresentation(), VecCreateGhostWithArray()

Examples

src/vec/examples/tutorials/ex9.c

Location: src/vec/impls/mpi/pbvec.c
Vector Index
Table of Contents