GridLocalToGlobal

Scatters local processor values including ghost variables from the local grid ghost vector into the given global vector.

Synopsis

#include "grid.h" 
#include "gvec.h" 
int GridLocalToGlobal(Grid grid, InsertMode mode, GVec vec)
Collective on Grid

Input Parameters

grid - The grid
mode - The insertion mode, either SET_VALUES or ADD_VALUES
vec - The grid vector

See Also

GridGlobalToLocal(), GVecLocalToGlobal()

Level:intermediate
Location:
src/grid/interface/grid.c
Index of all Grid routines
Table of Contents for all manual pages
Index of all manual pages