VecGhostRestoreLocalForm

Restores the local ghosted representation of a parallel vector obtained with VecGhostGetLocalForm().

Synopsis

#include "vec.h"   
int VecGhostRestoreLocalForm(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, but rather it returns a sequential vector that includes the locations for the ghost values and their current values.

Keywords

ghost points, local representation

See Also

VecCreateGhost(), VecGhostGetLocalForm(), VecCreateGhostWithArray()

Examples

src/vec/examples/tutorials/ex9f.F
src/vec/examples/tutorials/ex14f.F
src/vec/examples/tutorials/ex9.c

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